home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / Magazine / HomeAutomation / Apache / include / php / acconfig.h next >
Encoding:
C/C++ Source or Header  |  2000-06-28  |  1.0 KB  |  60 lines

  1. /* Leave this file alone */
  2. #define ZEND_API
  3. #define ZEND_DLEXPORT
  4.  
  5. @TOP@
  6.  
  7. /* these are defined by automake */
  8. #undef PACKAGE
  9. #undef VERSION
  10.  
  11. #undef uint
  12. #undef ulong
  13.  
  14. /* Define if you want to enable memory limit support */
  15. #define MEMORY_LIMIT 0
  16.  
  17. @BOTTOM@
  18.  
  19. #ifdef HAVE_STDLIB_H
  20. # include <stdlib.h>
  21. #endif
  22.  
  23. #ifdef HAVE_SYS_TYPES_H
  24. # include <sys/types.h>
  25. #endif
  26.  
  27. #ifdef HAVE_STRING_H
  28. # include <string.h>
  29. #else
  30. # include <strings.h>
  31. #endif
  32.  
  33. #if ZEND_BROKEN_SPRINTF
  34. int zend_sprintf(char *buffer, const char *format, ...);
  35. #else
  36. # define zend_sprintf sprintf
  37. #endif
  38.  
  39. #ifdef HAVE_FINITE
  40. #define zend_finite(a) finite(a)
  41. #elif defined(HAVE_ISFINITE)
  42. #define zend_finite(a) isfinite(a)
  43. #elif defined(HAVE_ISNAN) && defined(HAVE_ISINF)
  44. #define zend_finite(a) (isnan(a) ? 0 : isinf(a) ? 0 : 1)
  45. #elif defined(HAVE_ISNAN)
  46. #define zend_finite(a) (isnan(a) ? 0 : 1)
  47. #elif defined(HAVE_ISINF)
  48. #define zend_finite(a) (isinf(a) ? 0 : 1)
  49. #else
  50. #define zend_finite(a) (1)
  51. #endif
  52.  
  53. /*
  54.  * Local variables:
  55.  * tab-width: 4
  56.  * c-basic-offset: 4
  57.  * End:
  58.  */
  59. #undef PTHREADS
  60.