aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-11-15 19:24:17 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:41 +0100
commit06c6dc02a0ea8b5ee0c79ba83dd217ae533a79f9 (patch)
tree92aac165eb51f24c23f56f0ea78a6df843c59f11 /libcrystfel/src/detector.c
parentd2d8f12e07f4d9c5d096936a67301f03e83e29e9 (diff)
Add #define _ISOC99_SOURCE to get INFINITY and NAN
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r--libcrystfel/src/detector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c
index 54bae1d7..cf2cfbc9 100644
--- a/libcrystfel/src/detector.c
+++ b/libcrystfel/src/detector.c
@@ -11,6 +11,7 @@
*/
+#define _ISOC99_SOURCE
#include <stdlib.h>
#include <math.h>
#include <stdio.h>