aboutsummaryrefslogtreecommitdiff
path: root/libtcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtcc.h')
-rw-r--r--libtcc.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libtcc.h b/libtcc.h
index 339dec1..35a5889 100644
--- a/libtcc.h
+++ b/libtcc.h
@@ -1,10 +1,8 @@
#ifndef LIBTCC_H
#define LIBTCC_H
-#ifdef LIBTCC_AS_DLL
-#define LIBTCCAPI __declspec(dllexport)
-#else
-#define LIBTCCAPI
+#ifndef LIBTCCAPI
+# define LIBTCCAPI
#endif
#ifdef __cplusplus