Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 8608802b authored by rswindell's avatar rswindell

Added extern "C" declaration to avoid C++ name mangling of new global vars.

parent 0b0175b8
......@@ -59,9 +59,14 @@
#endif
typedef DWORD(WINAPI * GetLongPathName_t)(LPCTSTR,LPTSTR,DWORD);
extern HINSTANCE hK32;
extern GetLongPathName_t Win98GetLongPathName;
#if defined(__cplusplus)
extern "C" {
#endif
extern HINSTANCE hK32;
extern GetLongPathName_t Win98GetLongPathName;
#if defined(__cplusplus)
}
#endif
#elif defined(__unix__) /* Unix-variant */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment