1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 00:32:23 +01:00

#if WIN.* => #ifdef PHP_WIN32

#if !(WIN.* => #ifndef PHP_WIN32
This commit is contained in:
Sascha Schumann
2000-02-12 14:38:31 +00:00
parent f6eb750183
commit 0036b8bba0
10 changed files with 16 additions and 16 deletions

View File

@@ -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);