You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bi...@apache.org on 2009/01/04 04:22:04 UTC
svn commit: r731162 - in
/commons/proper/daemon/trunk/src/native/unix/native: dso.h jsvc.h
Author: billbarker
Date: Sat Jan 3 19:22:04 2009
New Revision: 731162
URL: http://svn.apache.org/viewvc?rev=731162&view=rev
Log:
blind commit for Mac specific issues
Modified:
commons/proper/daemon/trunk/src/native/unix/native/dso.h
commons/proper/daemon/trunk/src/native/unix/native/jsvc.h
Modified: commons/proper/daemon/trunk/src/native/unix/native/dso.h
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/unix/native/dso.h?rev=731162&r1=731161&r2=731162&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/unix/native/dso.h (original)
+++ commons/proper/daemon/trunk/src/native/unix/native/dso.h Sat Jan 3 19:22:04 2009
@@ -20,6 +20,9 @@
/**
* A library handle represents a unique pointer to its location in memory.
*/
+#ifdef DSO_DLFCN
+#include <mach-o/dyld.h>
+#endif
typedef void *dso_handle;
bool dso_init(void);
Modified: commons/proper/daemon/trunk/src/native/unix/native/jsvc.h
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/unix/native/jsvc.h?rev=731162&r1=731161&r2=731162&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/unix/native/jsvc.h (original)
+++ commons/proper/daemon/trunk/src/native/unix/native/jsvc.h Sat Jan 3 19:22:04 2009
@@ -26,10 +26,14 @@
#include <sys/stat.h>
/* Definitions for booleans */
+#ifdef OS_DARWIN
+#include <stdbool.h>
+#else
typedef enum {
false,
true
} bool;
+#endif
#include "debug.h"
#include "arguments.h"