File tree 3 files changed +7
-7
lines changed 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 28
28
29
29
PHPAPI void php_explicit_bzero (void * dst , size_t siz )
30
30
{
31
- #if HAVE_EXPLICIT_MEMSET
31
+ #ifdef HAVE_EXPLICIT_MEMSET
32
32
explicit_memset (dst , 0 , siz );
33
33
#elif defined(PHP_WIN32 )
34
34
RtlSecureZeroMemory (dst , siz );
Original file line number Diff line number Diff line change @@ -2498,7 +2498,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file)
2498
2498
{
2499
2499
zend_file_handle * prepend_file_p , * append_file_p ;
2500
2500
zend_file_handle prepend_file , append_file ;
2501
- #if HAVE_BROKEN_GETCWD
2501
+ #ifdef HAVE_BROKEN_GETCWD
2502
2502
volatile int old_cwd_fd = -1 ;
2503
2503
#else
2504
2504
char * old_cwd ;
@@ -2525,7 +2525,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file)
2525
2525
PG (during_request_startup ) = 0 ;
2526
2526
2527
2527
if (primary_file -> filename && !(SG (options ) & SAPI_OPTION_NO_CHDIR )) {
2528
- #if HAVE_BROKEN_GETCWD
2528
+ #ifdef HAVE_BROKEN_GETCWD
2529
2529
/* this looks nasty to me */
2530
2530
old_cwd_fd = open ("." , 0 );
2531
2531
#else
@@ -2590,7 +2590,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file)
2590
2590
} zend_end_try ();
2591
2591
}
2592
2592
2593
- #if HAVE_BROKEN_GETCWD
2593
+ #ifdef HAVE_BROKEN_GETCWD
2594
2594
if (old_cwd_fd != -1 ) {
2595
2595
fchdir (old_cwd_fd );
2596
2596
close (old_cwd_fd );
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ typedef int pid_t;
126
126
#endif
127
127
#include <assert.h>
128
128
129
- #if HAVE_UNIX_H
129
+ #ifdef HAVE_UNIX_H
130
130
#include <unix.h>
131
131
#endif
132
132
@@ -293,10 +293,10 @@ END_EXTERN_C()
293
293
#define php_ignore_value (x ) ZEND_IGNORE_VALUE(x)
294
294
295
295
/* global variables */
296
- #if !defined( PHP_WIN32 )
296
+ #ifndef PHP_WIN32
297
297
#define php_sleep sleep
298
298
extern char * * environ ;
299
- #endif /* !defined( PHP_WIN32) */
299
+ #endif /* ifndef PHP_WIN32 */
300
300
301
301
#ifdef PHP_PWRITE_64
302
302
ssize_t pwrite (int , void * , size_t , off64_t );
You can’t perform that action at this time.
0 commit comments