summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1998-11-05 21:40:45 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1998-11-05 21:40:45 +0000
commit0aa463775db6962ed19eabec597164d2a23cbcca (patch)
treea84ed553f202f94dc76036cef6655e2fd50f7338
parentb7b9189ee4f131a9ebaef7b32fa6e03b35eb2a6c (diff)
Updated for C++.
git-svn-id: file:///fltk/svn/fltk/trunk@61 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/scandir_win32.c7
1 files 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 $".
//