[xcode5] fix cpluff build
authoramet <amet.nospam@gmail.com>
Sat, 12 Oct 2013 18:42:15 +0000 (22:42 +0400)
committeramet <amet.nospam@gmail.com>
Wed, 16 Oct 2013 17:48:03 +0000 (21:48 +0400)
lib/cpluff/configure.ac

index a531cf5..bb69d19 100644 (file)
@@ -109,7 +109,7 @@ if test "$enable_threads" != no; then
     AC_LINK_IFELSE(
 [AC_LANG_SOURCE([#include <pthread.h>
 
-int main(int argc, char *argv[]) {
+int main(int argc, char **argv) {
        pthread_mutex_t mutex;
        
        pthread_mutex_init(&mutex, NULL);
@@ -126,7 +126,7 @@ cp_threads=Posix], AC_MSG_RESULT([no]))
     AC_LINK_IFELSE(
 [AC_LANG_SOURCE([#include <windows.h>
 
-int main(int argc, char *argv[]) {
+int main(int argc, char **argv) {
   CreateMutex(NULL, FALSE, NULL);
   return 0;
 }