Browse Source

add osx support

David Rose 19 years ago
parent
commit
723acb8cc7
2 changed files with 3 additions and 1 deletions
  1. 2 1
      ppremake/configure.in
  2. 1 0
      ppremake/md5.c

+ 2 - 1
ppremake/configure.in

@@ -72,7 +72,8 @@ else
     irix*) PLATFORM=Irix;;
     linux*) PLATFORM=Linux;;
     cygwin*) PLATFORM=Cygwin;;
-    *) echo "Cannot determine platform; use --with-platform=name."
+    darwin*) PLATFORM=OSX;;
+    *) echo "Cannot determine platform from $host_os; use --with-platform=name."
        exit 1;;
   esac
 fi

+ 1 - 0
ppremake/md5.c

@@ -23,6 +23,7 @@
  */
 
 #include "md5.h"
+#include <string.h>
 
 /* Constants for MD5Transform routine.
  */