mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Corrected an issue when running 'make check' on windows related to declaration of an external function.
This commit is contained in:
parent
a24c1732b6
commit
92db1577a4
@ -368,7 +368,15 @@ extern void NCDAP_urlfree(void* dapurl);
|
||||
extern const char* NCDAP_urllookup(void* dapurl, const char* param);
|
||||
|
||||
/* Test for specific set of servers */
|
||||
extern const char* NC_findtestserver(const char*);
|
||||
#if defined(DLL_NETCDF) /* Defined when library is a DLL */
|
||||
# if defined(DLL_EXPORT) /* Define when building the library. */
|
||||
# define MSC_NCDISPATCH_EXTRA __declspec(dllexport)
|
||||
# else
|
||||
# define MSC_NCDISPATCH_EXTRA __declspec(dllimport)
|
||||
# endif
|
||||
MSC_NCDISPATCH_EXTRA extern const char* NC_findtestserver(const char*);
|
||||
#else
|
||||
extern const char* NC_findtestserve
|
||||
/* Ping a specific server */
|
||||
extern int NCDAP_ping(const char*);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user