Avoid "empty translation unit" compiler warning.
gcc "warning: ISO C forbids an empty translation unit [-Wpedantic]" git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12107 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
1358c434b2
commit
169a8ee238
@ -203,6 +203,13 @@ fl_scandir(const char *dir, struct dirent ***namelist,
|
||||
return result;
|
||||
}
|
||||
|
||||
#else /* defined(USE_X11) && !defined(HAVE_SCANDIR) */
|
||||
|
||||
/* avoid (gcc) compiler warning [-Wpedantic]
|
||||
"ISO C forbids an empty translation unit" */
|
||||
|
||||
typedef int dummy;
|
||||
|
||||
#endif /* defined(USE_X11) && !defined(HAVE_SCANDIR) */
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user