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

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