Commit 136dbd00 authored by antma's avatar antma

checking sizeof (void) at the runtime

parent 365ebd3e
...@@ -181,6 +181,11 @@ char *make_full_path (char *s) { ...@@ -181,6 +181,11 @@ char *make_full_path (char *s) {
} }
void running_for_first_time (void) { void running_for_first_time (void) {
if (sizeof (void) != 1) {
logprintf ("sizeof (void) isn't equal 1\n");
logprintf ("GNU C compiler extension isn't available?\n");
exit (1);
}
if (config_filename) { if (config_filename) {
return; // Do not create custom config file return; // Do not create custom config file
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment