/[ascend]/trunk/base/generic/utilities/ascConfig.h
ViewVC logotype

Diff of /trunk/base/generic/utilities/ascConfig.h

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

revision 413 by johnpye, Tue Feb 28 04:39:00 2006 UTC revision 414 by johnpye, Mon Apr 3 04:55:35 2006 UTC
# Line 134  Line 134 
134  #include<stdio.h>  #include<stdio.h>
135    
136    
137    /* trying without this...
138  #if defined(__WIN32__) && !defined(__MINGW32__)  #if defined(__WIN32__) && !defined(__MINGW32__)
139  # undef Status         /* jds20041229 - #define in tcl include/X11/XLib.h conflicts. */  # undef Status         /* jds20041229 - #define in tcl include/X11/XLib.h conflicts. *
140  # define WIN32_LEAN_AND_MEAN  # define WIN32_LEAN_AND_MEAN
141  # include <windows.h>  /* jds20041212 - some limits defined in winnt.h (MAXLONG). */  # include <windows.h>  /* jds20041212 - some limits defined in winnt.h (MAXLONG). *
142  # undef WIN32_LEAN_AND_MEAN  # undef WIN32_LEAN_AND_MEAN
143  #endif  #endif
144    */
145  #ifndef PATH_MAX  #ifndef PATH_MAX
146  /** Normally will come from stdio.h or limits.h  /** Normally will come from stdio.h or limits.h
147   * POSIX values of PATH_MAX is 255, traditional is 1023   * POSIX values of PATH_MAX is 255, traditional is 1023
# Line 358  typedef    unsigned   uint32; Line 359  typedef    unsigned   uint32;
359  # elif defined(ASC_BUILD_LIB)  # elif defined(ASC_BUILD_LIB)
360  #  define DLEXPORT  #  define DLEXPORT
361  # else  # else
362  #  define DLEXPORT __declspec(dllimport)  /* changed this coz of errors with MSVC 2003 */
363    #  define DLEXPORT
364  # endif  # endif
365    
366  #else /* not __WIN32__ isms */  #else /* not __WIN32__ isms */
367    
368  # ifdef HAVE_GCCVISIBILITYPATCH  # ifdef HAVE_GCCVISIBILITYPATCH
369  #  define DLEXPORT __attribute__ ((visibility("default")))  #  define DLEXPORT __attribute__ ((visibility("default")))
370  # else  # else
371  #  define DLEXPORT  #  define DLEXPORT
372  # endif  # endif
373    
374  #endif /* __WIN32__ */  #endif /* __WIN32__ */
375    
376  #ifndef DLEXPORT  #ifndef DLEXPORT

Legend:
Removed from v.413  
changed lines
  Added in v.414

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22