Show
Ignore:
Timestamp:
08/19/99 18:56:22 (15 years ago)
Author:
piers
Message:

Updated .h files for cplusplus compatibility. Also added ifndef for
#define EAFNOSUPPORT WSAEAFNOSUPPORT
required by inet_pton.c

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • common/trunk/src/util.h

    r75 r205  
    4141#define _UTIL_H 
    4242 
     43#if defined(__cplusplus) 
     44extern "C" { 
     45#endif 
     46 
    4347#define block_alloc(x)  _block_alloc(x,__FILE__,__LINE__) 
    4448#define block_free(x,y) _block_free(x,y,__LINE__) 
     
    5660int overlapping_words(const char *s1, const char *s2, int max_words); 
    5761 
     62#if defined(__cplusplus) 
     63} 
     64#endif 
     65 
    5866#endif