greeting.c 170 B

12345678910
  1. #include <stdio.h>
  2. #if defined(_WIN32) && !defined(GREETING_STATIC)
  3. __declspec(dllexport)
  4. #endif
  5. void greeting(void)
  6. {
  7. printf("Hello world!\n");
  8. fflush(stdout);
  9. }