David Rose 19 anni fa
parent
commit
723acb8cc7
2 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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;;
     irix*) PLATFORM=Irix;;
     linux*) PLATFORM=Linux;;
     linux*) PLATFORM=Linux;;
     cygwin*) PLATFORM=Cygwin;;
     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;;
        exit 1;;
   esac
   esac
 fi
 fi

+ 1 - 0
ppremake/md5.c

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