Showing the changes to src/core/ulib_std.cpp (1 of 26 files). Show all
Unified · Split
| @@ -34,10 +34,14 @@ · 33 unmodified lines | ||
| 34 | 34 | #include <time.h> |
| 35 | 35 | #include <math.h> |
| 36 | 36 | #include "util_buffers.h" |
| 37 | −//#include "util_console.h" | |
| 37 | +#ifndef __DISABLE_PROMPTER__ | |
| 38 | +#include "util_console.h" | |
| 39 | +#endif | |
| 38 | 40 | #include "util_math.h" |
| 39 | 41 | #include "util_string.h" |
| 40 | −//#include "util_thread.h" | |
| 42 | +#ifndef __DISABLE_THREADS__ | |
| 43 | +#include "util_thread.h" | |
| 44 | +#endif | |
| 41 | 45 | #include "chuck.h" |
| 42 | 46 | #include "chuck_type.h" |
| 43 | 47 | #include "chuck_compile.h" |
| @@ -61,7 +65,9 @@ int setenv( const char *n, const char *v, int i ) · 17 unmodified lines | ||
| 61 | 65 | // for ConsoleInput and StringTokenizer |
| 62 | 66 | #include <sstream> |
| 63 | 67 | #include <iostream> |
| 64 | −//#include "util_thread.h" | |
| 68 | +#ifndef __DISABLE_THREADS__ | |
| 69 | +#include "util_thread.h" | |
| 70 | +#endif | |
| 65 | 71 | using namespace std; |
| 66 | 72 | |
| 67 | 73 | |