xref: /titanic_41/usr/src/lib/libast/common/features/isoc99 (revision 96d9f183facd90dbbc2268c9a51689be0b6a0b46)
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