Flush output of examples/fltk-versions for Windows (MinGW).

MinGW wouldn't flush the output before closing the window.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12202 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2017-03-17 15:02:08 +00:00
parent 0648489b9a
commit 21da3f3755

View File

@ -46,6 +46,7 @@ int main(int argc, char **argv) {
for (int i=0; i<versions; i++) {
printf("%s\n",version[i]);
}
fflush(stdout);
#ifdef FL_ABI_VERSION
if (FL_ABI_VERSION != Fl::abi_version()) {