Corrected an issue when running 'make check' on windows related to declaration of an external function.

This commit is contained in:
Ward Fisher 2012-07-31 23:02:51 +00:00
parent a24c1732b6
commit 92db1577a4

View File

@ -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*);