summaryrefslogtreecommitdiff
path: root/include/begin_code.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2011-01-24 15:46:11 -0800
committerSam Lantinga <slouken@libsdl.org>2011-01-24 15:46:11 -0800
commit10b8372bd3fe705b6199aa4564001a10b60d8329 (patch)
treeb064afc1faa278089d712108213d968c2c570e8f /include/begin_code.h
parentb33881a48e8735a75b2b531911355d2c9ea5019f (diff)
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
Diffstat (limited to 'include/begin_code.h')
-rw-r--r--include/begin_code.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/begin_code.h b/include/begin_code.h
index ccdcea61..395dc7c6 100644
--- a/include/begin_code.h
+++ b/include/begin_code.h
@@ -42,7 +42,7 @@
# else
# define DECLSPEC __declspec(export)
# endif
-# elif defined(__WINDOWS__)
+# elif defined(__WIN32__)
# ifdef __BORLANDC__
# ifdef BUILD_SDL
# define DECLSPEC
@@ -63,7 +63,7 @@
/* By default SDL uses the C calling convention */
#ifndef SDLCALL
-#if defined(__WINDOWS__) && !defined(__GNUC__)
+#if defined(__WIN32__) && !defined(__GNUC__)
#define SDLCALL __cdecl
#else
#define SDLCALL