Browse Source

* Fix a compilation warning by pretending to use seterrno()'s argument

even when it isn't.
tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
afaf0a0a0c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common.h

+ 1
- 1
common.h View File

@@ -39,7 +39,7 @@ typedef unsigned long int uintptr_t;
static inline void seterrno(int e) { errno = e; }
static inline int geterrno(void) { return errno; }
#else
# define seterrno(x) do {} while(0)
# define seterrno(x) do { (void)(x); } while(0)
# define geterrno(x) 0
#endif



Loading…
Cancel
Save