X_API WIN32 stuff

This commit is contained in:
Vítor Santos Costa
2016-01-31 10:29:36 +00:00
parent 35eb33e27f
commit 9c78086a6a
4 changed files with 11 additions and 22 deletions

View File

@@ -69,13 +69,6 @@ typedef int _Bool;
#define __WINDOWS__ 1
#endif
#endif
#ifndef X_API
#if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(PL_KERNEL)
#define X_API __declspec(dllexport)
#else
#define X_API
#endif
#endif
#include "pl-types.h"
@@ -100,7 +93,7 @@ stuff.
#endif
#ifdef HAVE_DECLSPEC
# ifdef PL_KERNEL
# ifdef _YAP_NOT_INSTALLED_
#define PL_EXPORT(type) __declspec(dllexport) type
#define PL_EXPORT_DATA(type) __declspec(dllexport) type
#define install_t void