From 0aa463775db6962ed19eabec597164d2a23cbcca Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 5 Nov 1998 21:40:45 +0000 Subject: [PATCH] Updated for C++. git-svn-id: file:///fltk/svn/fltk/trunk@61 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/scandir_win32.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/scandir_win32.c b/src/scandir_win32.c index 343ea9bff..676c20278 100644 --- a/src/scandir_win32.c +++ b/src/scandir_win32.c @@ -1,5 +1,5 @@ // -// "$Id: scandir_win32.c,v 1.6 1998/10/21 14:21:11 mike Exp $" +// "$Id: scandir_win32.c,v 1.7 1998/11/05 21:40:45 mike Exp $" // // WIN32 scandir function for the Fast Light Tool Kit (FLTK). // @@ -100,10 +100,13 @@ int scandir(const char *dirname, struct dirent ***namelist, return nDir; } +#ifdef __cplusplus +extern "C" +#endif int alphasort (struct dirent **a, struct dirent **b) { return strcmp ((*a)->d_name, (*b)->d_name); } // -// End of "$Id: scandir_win32.c,v 1.6 1998/10/21 14:21:11 mike Exp $". +// End of "$Id: scandir_win32.c,v 1.7 1998/11/05 21:40:45 mike Exp $". //