From f01503d18a35c71706edf8b1801af55cfcb19733 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 2 Feb 2012 07:26:39 -0600 Subject: Commit 415 needs the other two files. (Oops.) --- lib/lib.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib') diff --git a/lib/lib.h b/lib/lib.h index 61df58b4..6880462e 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -4,6 +4,14 @@ * Copyright 2006 Rob Landley */ +// Unfortunately, sizeof() doesn't work in a preprocessor test. TODO. + +//#if sizeof(double) <= sizeof(long) +//typedef double FLOAT; +//#else +typedef float FLOAT; +//#endif + // libc generally has this, but the headers are screwed up ssize_t getline(char **lineptr, size_t *n, FILE *stream); -- cgit v1.2.3