Skip to content
Browse files

Fix #ifdef to #if defined(..)

  • Loading branch information...
1 parent 480e0ee commit 9dadab6062378735eb94fc581b4a0de2ea84e6fe @mnunberg committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 jsonsl.h
View
2 jsonsl.h
@@ -60,7 +60,7 @@ typedef int ssize_t;
* We require a /DJSONSL_DLL so that users already using this as a static
* or embedded library don't get confused
*/
-#ifdef _WIN32 && defined(JSONSL_DLL)
+#if defined(_WIN32) && defined(JSONSL_DLL)
#define JSONSL_API __declspec(dllexport)
#else
#define JSONSL_API

0 comments on commit 9dadab6

Please sign in to comment.
Something went wrong with that request. Please try again.