/[escript]/trunk/paso/src/Common.h
ViewVC logotype

Diff of /trunk/paso/src/Common.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2055 by phornby, Tue Nov 11 03:07:59 2008 UTC revision 2056 by phornby, Mon Nov 17 13:27:55 2008 UTC
# Line 142  typedef int err_t; Line 142  typedef int err_t;
142    #define PASO_THREAD_FREE PASO_FREE    #define PASO_THREAD_FREE PASO_FREE
143  #endif  #endif
144    
145    
146    /* Prepare for the day that this becomes sharable. */
147    /* and we wish to do multi-file optimisations on windows */
148    
149    #define PASO_DLL_API
150    
151    #ifdef _WIN32
152    #   ifndef PASO_STATIC_LIB
153    #      undef PASO_DLL_API
154    #      ifdef PASO_EXPORTS
155    #         define PASO_DLL_API __declspec(dllexport)
156    #      else
157    #         define PASO_DLL_API __declspec(dllimport)
158    #      endif
159    #   endif
160    #endif
161    
162    
163  /******************The main macros ************************************/  /******************The main macros ************************************/
164    
165  #define MEMALLOC(_LENGTH_,_TYPE_)                                     \  #define MEMALLOC(_LENGTH_,_TYPE_)                                     \

Legend:
Removed from v.2055  
changed lines
  Added in v.2056

  ViewVC Help
Powered by ViewVC 1.1.26