History

undo test commenting out code with preprocessor directives

Jack Atherton committed 7 years ago

Commit b91dd1e1 parent db1a1dd26 files · +7454 −7195Browse files

Showing the changes to src/core/ulib_std.cpp (1 of 26 files). Show all

Unified · Split

src/core/ulib_std.cpp+9−3
@@ -34,10 +34,14 @@ · 33 unmodified lines
3434 #include <time.h>
3535 #include <math.h>
3636 #include "util_buffers.h"
37−//#include "util_console.h"
37+#ifndef __DISABLE_PROMPTER__
38+#include "util_console.h"
39+#endif
3840 #include "util_math.h"
3941 #include "util_string.h"
40−//#include "util_thread.h"
42+#ifndef __DISABLE_THREADS__
43+#include "util_thread.h"
44+#endif
4145 #include "chuck.h"
4246 #include "chuck_type.h"
4347 #include "chuck_compile.h"
@@ -61,7 +65,9 @@ int setenv( const char *n, const char *v, int i ) · 17 unmodified lines
6165 // for ConsoleInput and StringTokenizer
6266 #include <sstream>
6367 #include <iostream>
64−//#include "util_thread.h"
68+#ifndef __DISABLE_THREADS__
69+#include "util_thread.h"
70+#endif
6571 using namespace std;
6672
6773

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t