您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516
  1. #ifndef HELPER_H
  2. #define HELPER_H
  3. #if defined(WIN32)
  4. #include <windows.h>
  5. extern HWND hwnd;
  6. static inline void showMessage(const char* msg)
  7. { MessageBox(hwnd, msg, "TextSuiteExample Error", MB_OK); };
  8. #elif defined(LINUX)
  9. #include <stdio.h>
  10. static inline void showMessage(const char* msg)
  11. { printf("%s\n", msg); };
  12. #endif
  13. #endif /* HELPER_H */