/[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 46 by ben.allan, Sat Mar 5 01:53:39 2005 UTC revision 47 by jds, Thu Apr 7 23:59:22 2005 UTC
# Line 308  typedef    unsigned   uint32; Line 308  typedef    unsigned   uint32;
308  #error "Null not defined by the time ascConfig.h seen"  #error "Null not defined by the time ascConfig.h seen"
309  #endif  #endif
310    
311    #ifndef UNREFERENCED_PARAMETER
312    /** Standardize the treatment of unreferenced function parameters. */
313    #  define UNREFERENCED_PARAMETER(p) (void)(p)
314    #endif
315    
316  /*  /*
317   *   *
# Line 332  typedef    unsigned   uint32; Line 336  typedef    unsigned   uint32;
336   *  build the Tk Console   *  build the Tk Console
337   */   */
338  #ifndef ASC_USE_TK_CONSOLE  #ifndef ASC_USE_TK_CONSOLE
339  #define ASC_USE_TK_CONSOLE  #define ASC_USE_TK_CONSOLE      
340  #endif /* ASC_USE_TK_CONSOLE */  #endif /* ASC_USE_TK_CONSOLE */
341    
342  /*  /*
# Line 397  typedef    unsigned   uint32; Line 401  typedef    unsigned   uint32;
401   * the following patch up IEEE754isms that some systems can't seem to   * the following patch up IEEE754isms that some systems can't seem to
402   * get right.   * get right.
403   */   */
404  #define FPRESET (void)0  #define FPRESET (void)0              
405  #ifdef __WIN32__  #ifdef __WIN32__
406  /* renamed */     /* renamed in some __WIN32__ compiler systems */
407  #define finite(x) _finite(x)  #  ifndef finite
408  #define isnan(x) _isnan(x)  #    define finite(x) _finite(x)
409  #define isinf(x) _isinf(x)  #  endif
410  #undef FPRESET  #  ifndef isnan
411  #define FPRESET _fpreset()  #    define isnan(x) _isnan(x)
412  #endif  #  endif
413    #  ifndef isinf
414    #    define isinf(x) _isinf(x)
415    #  endif
416    #  undef FPRESET
417    #  define FPRESET _fpreset()
418    #endif  /* __WIN32__ *.
419    
420  #ifdef __SUN_SUNOS__  #ifdef __SUN_SUNOS__
421  /* not properly headered in math.h or ieee*.h */  /* not properly headered in math.h or ieee*.h */

Legend:
Removed from v.46  
changed lines
  Added in v.47

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