Commit 3d27cb14160fb17eb7fc149ac82318bcec6f1bd6
- Diff rendering mode:
- inline
- side by side
src/log.cpp
(3 / 1)
|   | |||
| 30 | 30 | #include <windows.h> | |
| 31 | 31 | #elif __APPLE__ | |
| 32 | 32 | #include <Carbon/Carbon.h> | |
| 33 | #elif __linux__ || __linux | ||
| 34 | #include <stdlib.h> | ||
| 33 | 35 | #endif | |
| 34 | 36 | ||
| 35 | 37 | #include <sys/time.h> | |
| … | … | ||
| 125 | 125 | StandardAlert(kAlertStopAlert, | |
| 126 | 126 | "\pError", | |
| 127 | 127 | (ConstStr255Param) msg, NULL, NULL); | |
| 128 | #elif defined __linux__ | ||
| 128 | #elif defined __linux__ || __linux | ||
| 129 | 129 | std::cerr << "Error: " << error_text << std::endl; | |
| 130 | 130 | std::string msg="xmessage \"" + error_text + "\""; | |
| 131 | 131 | system(msg.c_str()); |

