don't require libcurl headers in STANDALONE
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7498 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -650,6 +650,7 @@ inline const char *killmessage(int gun, bool gib = false)
|
||||
return killmessages[gib?1:0][gun];
|
||||
}
|
||||
|
||||
#ifndef STANDALONE
|
||||
struct pckserver
|
||||
{
|
||||
char *addr;
|
||||
@@ -671,3 +672,4 @@ struct package
|
||||
|
||||
package() : name(NULL), type(-1), number(0), pending(false), source(NULL), curl(NULL) {}
|
||||
};
|
||||
#endif
|
||||
@@ -75,4 +75,6 @@
|
||||
#ifndef CURL_STATICLIB
|
||||
#define CURL_STATICLIB
|
||||
#endif
|
||||
#ifndef STANDALONE
|
||||
#include "curl/curl.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user