comparison LinkedList.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
42 42
43 /** Windows needs to know explicitly which functions to export in a DLL. */ 43 /** Windows needs to know explicitly which functions to export in a DLL. */
44 #if defined(_WIN32) 44 #if defined(_WIN32)
45 #if defined(C_LINKED_LIST_BUILD_LIBRARY) 45 #if defined(C_LINKED_LIST_BUILD_LIBRARY)
46 #define C_LINKED_LIST_DECLSPEC __declspec(dllexport) 46 #define C_LINKED_LIST_DECLSPEC __declspec(dllexport)
47 #else
48 #define C_LINKED_LIST_DECLSPEC
47 #endif 49 #endif
48 #else 50 #else
49 #if defined(C_LINKED_LIST_BUILD_LIBRARY) 51 #if defined(C_LINKED_LIST_BUILD_LIBRARY)
50 #if defined (__GNUC__) && __GNUC__ >= 4 52 #if defined (__GNUC__) && __GNUC__ >= 4
51 #define C_LINKED_LIST_DECLSPEC __attribute__((visibility("default"))) 53 #define C_LINKED_LIST_DECLSPEC __attribute__((visibility("default")))