Browse Source

Use __forceinline under Win32 (inlining under Win32 gives roughly 30% performance

increase)
PHP-4.0.5
Zeev Suraski 26 years ago
parent
commit
e25e3f092a
  1. 7
      Zend/zend_config.w32.h

7
Zend/zend_config.w32.h

@ -48,9 +48,10 @@ typedef unsigned int uint;
#define zend_sprintf sprintf
/* Visual C++ doesn't really work with inline for C */
#define inline
/* This will cause the compilation process to be MUCH longer, but will generate
* a much quicker PHP binary
*/
#define inline __forceinline
#define DL_LOAD(libname) LoadLibrary(libname)
#define DL_FETCH_SYMBOL GetProcAddress

Loading…
Cancel
Save