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/memory.h

    r185 r205  
    4545#define xstrdup(x)      _xstrdup(x,__FILE__,__LINE__) 
    4646 
     47#if defined(__cplusplus) 
     48extern "C" { 
     49#endif 
     50 
    4751/* Debug Functions */ 
    4852void     xdoneinit(void); 
     
    6064void     _block_free(void *p, int size, int line); 
    6165 
     66#if defined(__cplusplus) 
     67} 
     68#endif 
     69 
    6270#endif