The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
447 B
15 lines
447 B
#include "@CONFIG@" |
|
#include <stdio.h> |
|
#include <wchar.h> |
|
|
|
int main(int argc, char **argv) { |
|
if(INTSIZE != sizeof(int)) { |
|
fprintf(stderr, "Mismatch: detected int size %d, actual size %d.\n", INTSIZE, (int)sizeof(int)); |
|
return 1; |
|
} |
|
if(WCHARSIZE != sizeof(wchar_t)) { |
|
fprintf(stderr, "Mismatch: detected wchar size %d, actual size %d.\n", WCHARSIZE, (int)sizeof(wchar_t)); |
|
return 1; |
|
} |
|
return 0; |
|
}
|
|
|