Commit f33377802ad13ee55102a683e1a4fc93d656a8d7

Sam Lantinga 2017-09-09T07:42:29

Fixed bug 3807 - Remove restriction from DECLSPEC macro for OS/2 Ozkan Sezer The following patch removes the unnecessary / wrong Watcom restriction from the DECLSPEC macro for OS/2.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/begin_code.h b/include/begin_code.h
index 1e78a4d..5372d6f 100644
--- a/include/begin_code.h
+++ b/include/begin_code.h
@@ -61,7 +61,7 @@
 #  else
 #   define DECLSPEC __declspec(dllexport)
 #  endif
-# elif defined(__OS2__) && defined(__WATCOMC__)
+# elif defined(__OS2__)
 #   ifdef BUILD_SDL
 #    define DECLSPEC    __declspec(dllexport)
 #   else