Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix up Mac specific directives

  • Loading branch information...
commit 77ee3469a883b5d342fc3fedd4b614c211e0a738 1 parent fdd0977
David Kellum authored January 30, 2010

Showing 2 changed files with 6 additions and 6 deletions. Show diff stats Hide diff stats

  1. 4  jvm.c
  2. 8  main.c
4  jvm.c
@@ -47,9 +47,9 @@
47 47
 #include <jni.h>
48 48
 
49 49
 #ifdef __MacOS_X__
50  
-#define CREATE_JVM_FUNCTION_NAME "JNI_CreateJavaVM_Impl"
  50
+#  define CREATE_JVM_FUNCTION_NAME "JNI_CreateJavaVM_Impl"
51 51
 #else
52  
-#define CREATE_JVM_FUNCTION_NAME "JNI_CreateJavaVM"
  52
+#  define CREATE_JVM_FUNCTION_NAME "JNI_CreateJavaVM"
53 53
 #endif
54 54
 
55 55
 typedef jint (*create_java_vm_f)(JavaVM **, JNIEnv **, JavaVMInitArgs *);
8  main.c
@@ -43,10 +43,6 @@
43 43
 #include <apr_lib.h>
44 44
 #include <apr_file_io.h>
45 45
 
46  
-#ifndef __MacOS_X__
47  
-#  include <sys/prctl.h>
48  
-#endif
49  
-
50 46
 #include "runtime.h"
51 47
 #include "property.h"
52 48
 #include "daemon.h"
@@ -54,6 +50,10 @@
54 50
 #include "jvm.h"
55 51
 #include "libpath.h"
56 52
 
  53
+#ifndef __MacOS_X__
  54
+#  include <sys/prctl.h>
  55
+#endif
  56
+
57 57
 static apr_status_t
58 58
 skip_flags( int argc,
59 59
             const char *argv[],

0 notes on commit 77ee346

Please sign in to comment.
Something went wrong with that request. Please try again.