8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:40:38 +01:00
This commit is contained in:
paulbeach 2010-10-04 13:21:30 +00:00
parent 439fac187a
commit 780dea6db1
2 changed files with 7 additions and 0 deletions

View File

@ -32,6 +32,8 @@
#else #else
#define FBUDF_API __declspec(dllimport) #define FBUDF_API __declspec(dllimport)
#endif #endif
#elif defined(DARWIN)
#define FBUDF_API API_ROUTINE
#else #else
#define FBUDF_API #define FBUDF_API
#endif #endif

View File

@ -17,7 +17,12 @@
* Contributor(s): ______________________________________. * Contributor(s): ______________________________________.
*/ */
#if defined(__cplusplus) && defined(DARWIN)
#include "../jrd/common.h"
#define EXPORT API_ROUTINE
#else
#define EXPORT #define EXPORT
#endif
#define MATHERR matherr #define MATHERR matherr
#include <stdarg.h> #include <stdarg.h>