*** empty log message ***
authorBoris Boesler <boesler@ipd.info.uni-karlsruhe.de>
Fri, 26 Sep 2003 09:08:28 +0000 (09:08 +0000)
committerBoris Boesler <boesler@ipd.info.uni-karlsruhe.de>
Fri, 26 Sep 2003 09:08:28 +0000 (09:08 +0000)
[r1880]

ir/tv/fltcalc.c
ir/tv/strcalc.c
ir/tv/tv.c

index cca8bf8..d081979 100644 (file)
  */
 
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+
 #include "fltcalc.h"
 #include "strcalc.h"
 
 #include <stdlib.h>
 #include <stdio.h>
 #include <assert.h>
-#ifdef linux
+#ifdef HAVE_ALLOCA_H
 # include <alloca.h>
-#else
-# ifdef __APPLE__
-# include <stdlib.h>
-# endif
 #endif
 
 typedef uint32_t UINT32;
index 5813e3b..2d55f58 100644 (file)
  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
  */
 
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+
 #include "strcalc.h"
 
 #include <stdlib.h>
-#ifdef linux
+#ifdef HAVE_ALLOCA_H
 # include <alloca.h>
-#else
-# ifdef __APPLE__
-#  include <stdlib.h>
-# endif
 #endif
 #include <assert.h>   /* assertions */
 #include <string.h>   /* memset/memcmp */
index f51cd5c..6886f31 100644 (file)
 /* This implementation assumes:
  *  - target has IEEE-754 floating-point arithmetic.  */
 
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+
 #include <assert.h>         /* assertions */
 #include <stdlib.h>         /* atoi() */
 #include <string.h>         /* nice things for strings */
 #include <strings.h>        /* strings.h also includes bsd only function strcasecmp */
 #include <stdlib.h>
-#ifdef linux
+#ifdef HAVE_ALLOCA_H
 # include <alloca.h>
-#else
-# ifdef __APPLE__
-# include <stdlib.h>
-# endif
 #endif
 
 #include "tv_t.h"