use #error when missing define
This makes it easier to figure out what's going wrong when we forget to define _POSIX_SOURCE.
This commit is contained in:
parent
eb73718c25
commit
d935bb25d2
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
#ifndef __UNISTD_H
|
||||
#define __UNISTD_H
|
||||
#ifndef _POSIX_SOURCE
|
||||
This header file is not defined in pure ANSI
|
||||
#error This header file is not defined in pure ANSI
|
||||
#endif
|
||||
#pragma lib "/$M/lib/ape/libap.a"
|
||||
|
||||
|
|
Loading…
Reference in a new issue