diff --git a/custom/4coder_custom.cpp b/custom/4coder_custom.cpp index 976c10da..4acd5551 100644 --- a/custom/4coder_custom.cpp +++ b/custom/4coder_custom.cpp @@ -6,7 +6,7 @@ extern "C" b32 get_version(i32 maj, i32 min, i32 patch){ - printf("CUS: %d.%d.%d\n", MAJOR, MINOR, PATCH); + fprintf(stderr, "CUS: %d.%d.%d\n", MAJOR, MINOR, PATCH); return(maj == MAJOR && min == MINOR && patch == PATCH); } diff --git a/platform_linux/linux_4ed.cpp b/platform_linux/linux_4ed.cpp index e34176d1..3ffc17d3 100644 --- a/platform_linux/linux_4ed.cpp +++ b/platform_linux/linux_4ed.cpp @@ -1700,7 +1700,7 @@ main(int argc, char **argv){ system_error_box(custom_not_found_msg); } custom.get_version = (_Get_Version_Type*)system_get_proc(custom_library, "get_version"); - printf("VER: %d.%d.%d\n", MAJOR, MINOR, PATCH); + fprintf(stderr, "VER: %d.%d.%d\n", MAJOR, MINOR, PATCH); if (custom.get_version == 0 || custom.get_version(MAJOR, MINOR, PATCH) == 0){ system_error_box(custom_fail_version_msg); }