Closed GoogleCodeExporter closed 9 years ago
I think this is all that is required.
diff --git a/src/multiplatform.h b/src/multiplatform.h
index 97b5d4c..11808d1 100644
--- a/src/multiplatform.h
+++ b/src/multiplatform.h
@@ -22,6 +22,10 @@
#include <stdint.h>
+#if defined(__APPLE__)
+#define linux
+#endif
+
#if defined (_WIN32) && !defined (WIN32)
#define WIN32
#endif
@@ -58,3 +62,6 @@ typedef pthread_t HANDLE;
#define VERSION "1.0.0-alpha (Linux)"
#endif
+#if defined(__APPLE__)
+#define VERSION "1.0.0-alpha (OS X)"
+#endif
Original comment by speedrac...@gmail.com
on 11 Mar 2013 at 9:35
diff --git a/README b/README
index 5110a8f..8128fe0 100644
--- a/README
+++ b/README
@@ -4,13 +4,10 @@ README for the UDPT project.
Licensed under GNU GPLv3.
The license file is attached under the name gpl.txt.
-Compiling under linux or linux environment (MinGW):
+Compiling requires Linux, Windows with a Linux environment (MinGW),
+or OS X:
-For Windows (with Linux environment):
-$ make win32
-
-For Linux:
-$ make linux
+$ make
Running:
$ ./udpt
Original comment by speedrac...@gmail.com
on 11 Mar 2013 at 9:37
Thank you very much for posting this issue, I can do that - But i won't provide
OSX support since i don't own a Mac... I will publish this change... (OSX is
Linux based...)
Original comment by naim...@gmail.com
on 13 Mar 2013 at 2:56
Code changed: Commit e924bbca24b7
Original comment by naim...@gmail.com
on 13 Mar 2013 at 4:08
Please comment if the project doesn't compile on OS X.
Original comment by naim...@gmail.com
on 13 Mar 2013 at 4:15
Works fine, thanks.
Original comment by speedrac...@gmail.com
on 13 Mar 2013 at 4:33
Thank you for verifing.
Original comment by naim...@gmail.com
on 14 Mar 2013 at 8:21
Original comment by naim...@gmail.com
on 22 Mar 2013 at 1:53
Original issue reported on code.google.com by
speedrac...@gmail.com
on 11 Mar 2013 at 9:30