summaryrefslogtreecommitdiff
path: root/thirdparty/vulkan/loader/dirent_on_windows.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-29 20:44:14 +0200
committerGitHub <noreply@github.com>2020-02-11 11:57:40 +0100
commit6289e7d1479f6e7c9e55890c8c66d2e5e0a1481a (patch)
tree8223d907b1aa8184295240a7b6f63023da05c02f /thirdparty/vulkan/loader/dirent_on_windows.h
parent6ecedd1e6ca7d8b10b13a3dab19074fd51b17bcf (diff)
parentb456bfad5cee3922f55621bf7c133cc67337636a (diff)
Merge pull request #29993 from bruvzg/vulkan
Initial Vulkan support for macOS (MoltenVK) and Windows
Diffstat (limited to 'thirdparty/vulkan/loader/dirent_on_windows.h')
-rwxr-xr-xthirdparty/vulkan/loader/dirent_on_windows.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/thirdparty/vulkan/loader/dirent_on_windows.h b/thirdparty/vulkan/loader/dirent_on_windows.h
new file mode 100755
index 0000000000..8600f8ef04
--- /dev/null
+++ b/thirdparty/vulkan/loader/dirent_on_windows.h
@@ -0,0 +1,51 @@
+#ifndef DIRENT_INCLUDED
+#define DIRENT_INCLUDED
+
+/*
+
+ Declaration of POSIX directory browsing functions and types for Win32.
+
+ Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com)
+ History: Created March 1997. Updated June 2003.
+ Rights: See end of file.
+
+*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct DIR DIR;
+
+struct dirent {
+ char *d_name;
+};
+
+DIR *opendir(const char *);
+int closedir(DIR *);
+struct dirent *readdir(DIR *);
+void rewinddir(DIR *);
+
+/*
+
+ Copyright Kevlin Henney, 1997, 2003. All rights reserved.
+ Copyright (c) 2015 The Khronos Group Inc.
+ Copyright (c) 2015 Valve Corporation
+ Copyright (c) 2015 LunarG, Inc.
+
+ Permission to use, copy, modify, and distribute this software and its
+ documentation for any purpose is hereby granted without fee, provided
+ that this copyright and permissions notice appear in all copies and
+ derivatives.
+
+ This software is supplied "as is" without express or implied warranty.
+
+ But that said, if there are any problems please get in touch.
+
+*/
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif