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