Skip to content
Snippets Groups Projects
Commit ede2cc93 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't try to include modern C++ headers when building C++ Builder

C++ Builder6 doesn't have unordered_map, so only #include those std C++
headers if/where we actually need them.
parent 370154e6
Branches
Tags
1 merge request!455Update branch with changes from master
......@@ -26,11 +26,6 @@
/* Standard library headers */
/****************************/
#if defined(__cplusplus)
#include <string>
#include <unordered_map>
#endif
/***************/
/* OS-specific */
/***************/
......@@ -382,6 +377,9 @@ typedef struct js_callback {
/* Synchronet Node Instance class definition */
#if defined(__cplusplus) && defined(JAVASCRIPT)
#include <string>
#include <unordered_map>
struct mouse_hotspot { // Mouse hot-spot
char cmd[128];
int y;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment