xref: /titanic_51/usr/src/lib/libast/common/features/isoc99 (revision 9ff4cbe7ef4949795789148b32dde0d4f98edaff)
1if tst -D_ISOC99_SOURCE -lm note{ _ISOC99_SOURCE plays nice }end link{
2		#include <sys/types.h>
3		#include <sys/stat.h>
4		#include <stdlib.h>
5		#include <unistd.h>
6		#include <math.h>
7		int main() { return signbit(-0.0); }
8	}end {
9		#ifndef _ISOC99_SOURCE
10		#define _ISOC99_SOURCE	1
11		#endif
12	}
13endif
14