Skip to content

Commit

Permalink
text_search_and_replace() is an exported function. It should be marke…
Browse files Browse the repository at this point in the history
…d as such if building as a DLL on MSVC.
  • Loading branch information
Bill-Gray committed Aug 21, 2024
1 parent 320030d commit 2ff7eb5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mpc_func.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
#ifndef MPC_FUNC_H_INCLUDED
#define MPC_FUNC_H_INCLUDED

#ifndef DLL_FUNC
#include "watdefs.h"
#endif

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -47,7 +51,7 @@ typedef struct
#define MPC_CODE_LAT_LON_ALT 2
#define MPC_CODE_SATELLITE 3

int text_search_and_replace( char *str, const char *oldstr,
int DLL_FUNC text_search_and_replace( char *str, const char *oldstr,
const char *newstr);
int get_mpc_code_info( mpc_code_t *cinfo, const char *buff);
int get_xxx_location_info( mpc_code_t *cinfo, const char *buff);
Expand Down

0 comments on commit 2ff7eb5

Please sign in to comment.