/[xforms]/xforms/lib/local.h
ViewVC logotype

Diff of /xforms/lib/local.h

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

revision 1.2 by leeming, Thu Apr 10 20:46:37 2003 UTC revision 1.3 by leeming, Thu Apr 17 09:04:57 2003 UTC
# Line 51  extern int strcasecmp(const char *, cons Line 51  extern int strcasecmp(const char *, cons
51    
52  #if defined(__linux__)||defined(linux)  #if defined(__linux__)||defined(linux)
53  #undef DONT_HAVE_USLEEP  #undef DONT_HAVE_USLEEP
 #define HAVE_SNPRINTF  
54  #endif  #endif
55    
56  /* solaris: do we need to check the version number ? */  /* solaris: do we need to check the version number ? */
57  #if defined(__SUNPRO_C) && __SUNPRO_C >=0x500  #if defined(__SUNPRO_C) && __SUNPRO_C >=0x500
 #define HAVE_SNPRINTF  
58  #endif  #endif
59    
60  #if defined(Lynx)  #if defined(Lynx)
# Line 137  extern int gettimeofday(struct timeval * Line 135  extern int gettimeofday(struct timeval *
135    
136  /*#define NO_MSG_INFO */  /*#define NO_MSG_INFO */
137    
 #ifdef HAVE_SNPRINTF  
 #define fl_snprintf snprintf  
 #else  
 extern int fl_snprintf(char *, size_t, const char *, ...);  
 #endif  
138  #endif /* ifndef local.h } */  #endif /* ifndef local.h } */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26