comparison CircularQueue.h @ 72:398d1cb12448

Bug fix for unbalanced #if/#endif blocks. I think I broke it when removing the dllimport for Windows.
author Eric Wing <ewing . public |-at-| gmail . com>
date Mon, 16 Jul 2012 22:31:56 -0700
parents 36644b1b940b
children
comparison
equal deleted inserted replaced
71:36644b1b940b 72:398d1cb12448
37 37
38 /** Windows needs to know explicitly which functions to export in a DLL. */ 38 /** Windows needs to know explicitly which functions to export in a DLL. */
39 #if defined(_WIN32) 39 #if defined(_WIN32)
40 #if defined(C_CIRCULAR_QUEUE_BUILD_LIBRARY) 40 #if defined(C_CIRCULAR_QUEUE_BUILD_LIBRARY)
41 #define C_CIRCULAR_QUEUE_DECLSPEC __declspec(dllexport) 41 #define C_CIRCULAR_QUEUE_DECLSPEC __declspec(dllexport)
42 #else
43 #define C_CIRCULAR_QUEUE_DECLSPEC
42 #endif 44 #endif
43 #else 45 #else
44 #if defined(C_CIRCULAR_QUEUE_BUILD_LIBRARY) 46 #if defined(C_CIRCULAR_QUEUE_BUILD_LIBRARY)
45 #if defined (__GNUC__) && __GNUC__ >= 4 47 #if defined (__GNUC__) && __GNUC__ >= 4
46 #define C_CIRCULAR_QUEUE_DECLSPEC __attribute__((visibility("default"))) 48 #define C_CIRCULAR_QUEUE_DECLSPEC __attribute__((visibility("default")))