other.c 400 B

1234567891011121314151617181920
  1. #include<stdlib.h>
  2. #if defined _WIN32 || defined __CYGWIN__
  3. #define DLL_PUBLIC __declspec(dllexport)
  4. #else
  5. #if defined __GNUC__
  6. #define DLL_PUBLIC __attribute__ ((visibility("default")))
  7. #else
  8. #pragma message ("Compiler does not support symbol visibility.")
  9. #define DLL_PUBLIC
  10. #endif
  11. #endif
  12. char DLL_PUBLIC func_b() {
  13. if('c' != 'c') {
  14. exit(3);
  15. }
  16. return 'b';
  17. }