diff options
Diffstat (limited to 'otherlibs/unix')
-rw-r--r-- | otherlibs/unix/cst2constr.h | 2 | ||||
-rw-r--r-- | otherlibs/unix/socketaddr.h | 2 | ||||
-rw-r--r-- | otherlibs/unix/unix.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/otherlibs/unix/cst2constr.h b/otherlibs/unix/cst2constr.h index 307926b35..e4b45b876 100644 --- a/otherlibs/unix/cst2constr.h +++ b/otherlibs/unix/cst2constr.h @@ -1,4 +1,4 @@ -#ifdef ANSI +#ifdef __STDC__ value cst_to_constr(int, int *, int, int); #else value cst_to_constr(); diff --git a/otherlibs/unix/socketaddr.h b/otherlibs/unix/socketaddr.h index 0cc9be8f7..f016d938c 100644 --- a/otherlibs/unix/socketaddr.h +++ b/otherlibs/unix/socketaddr.h @@ -11,7 +11,7 @@ union { int sock_addr_len; -#ifdef ANSI +#ifdef __STDC__ void get_sockaddr(value); value alloc_sockaddr(void); value alloc_inet_addr(unsigned long); diff --git a/otherlibs/unix/unix.h b/otherlibs/unix/unix.h index e63b04a7f..1c419fca8 100644 --- a/otherlibs/unix/unix.h +++ b/otherlibs/unix/unix.h @@ -1,14 +1,14 @@ #define Nothing ((value) 0) #ifndef NULL -#ifdef ANSI +#ifdef __STDC__ #define NULL ((void *) 0) #else #define NULL ((char *) 0) #endif #endif -#ifdef ANSI +#ifdef __STDC__ extern void unix_error(int errcode, char * cmdname, value arg); extern void uerror(char * cmdname, value arg); #else |