make it compile under mingw32 --with-curl

This commit is contained in:
Andrzej Rybczak
2009-03-25 23:13:34 +01:00
parent 65f52da949
commit f04472641b
7 changed files with 54 additions and 25 deletions

View File

@@ -27,6 +27,12 @@
#include "menu.h"
#include "scrollpad.h"
#ifndef HAVE_PTHREAD_H
# define pthread_mutex_lock(x);
# define pthread_mutex_unlock(x);
# define pthread_exit(x) return 0;
#endif
using namespace NCurses;
typedef std::pair<std::string, std::string> string_pair;