Ticket #194: intptr_t.diff

File intptr_t.diff, 413 bytes (added by hans, 2 years ago)

intptr_t changes

  • eaccelerator.h

    old new  
    107107#endif 
    108108 
    109109#if !defined(_INTPTR_T_DEFINED) && ZEND_WIN32 
    110         typedef intptr_t; 
    111         #define _INTPTR_T_DEFINED 
     110  typedef int intptr_t; 
     111  #define _INTPTR_T_DEFINED 
     112#else 
     113#  ifdef HAVE_STDINT_H 
     114#    include <stdint.h> 
     115#  elif HAVE_INTTYPES_H 
     116#    include <inttypes.h> 
     117#  endif 
    112118#endif 
    113119 
    114120#if !defined(ssize_t) && ZEND_WIN32