Commit 3d27cb14160fb17eb7fc149ac82318bcec6f1bd6

  • avatar
  • Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> (Committer)
  • Mon Jul 19 21:01:57 CEST 2010
  • avatar
  • kook <noemail> (Author)
  • Mon Jul 19 21:00:04 CEST 2010
Finished to add the xmessage support thanks to Kook.

Reviewed-by: Bertram
  
3030#include <windows.h>
3131#elif __APPLE__
3232#include <Carbon/Carbon.h>
33#elif __linux__ || __linux
34#include <stdlib.h>
3335#endif
3436
3537#include <sys/time.h>
125125 StandardAlert(kAlertStopAlert,
126126 "\pError",
127127 (ConstStr255Param) msg, NULL, NULL);
128#elif defined __linux__
128#elif defined __linux__ || __linux
129129 std::cerr << "Error: " << error_text << std::endl;
130130 std::string msg="xmessage \"" + error_text + "\"";
131131 system(msg.c_str());