mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
#if WIN.* => #ifdef PHP_WIN32
#if !(WIN.* => #ifndef PHP_WIN32
This commit is contained in:
parent
f6eb750183
commit
0036b8bba0
10 changed files with 16 additions and 16 deletions
|
@ -50,7 +50,7 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if WIN32|WINNT
|
||||
#ifdef PHP_WIN32
|
||||
#ifdef JNI_12
|
||||
#pragma comment(lib,"jvm.lib")
|
||||
#else
|
||||
|
@ -106,7 +106,7 @@ void jvm_destroy() {
|
|||
(*jvm)->DestroyJavaVM(jvm);
|
||||
jvm = 0;
|
||||
}
|
||||
#if !(WIN32||WINNT)
|
||||
#ifndef PHP_WIN32
|
||||
if (javadl) dlclose(javadl);
|
||||
#endif
|
||||
php_reflect = 0;
|
||||
|
@ -148,7 +148,7 @@ static int jvm_create() {
|
|||
|
||||
if (!classpath) classpath = getenv("CLASSPATH");
|
||||
|
||||
#if !(WIN32||WINNT)
|
||||
#ifndef PHP_WIN32
|
||||
if (!libpath) libpath = getenv("LD_LIBRARY_PATH");
|
||||
if (javalib) {
|
||||
javadl = dlopen(javalib, RTLD_GLOBAL | RTLD_LAZY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue