The #pragma once include guard is sufficiently widespread enough to allow
usage of it everywhere.
THE SOFTWARE.
*/
-#ifndef cJSON__h
-#define cJSON__h
+#pragma once
#ifdef __cplusplus
extern "C" {
#ifdef __cplusplus
}
#endif
-
-#endif
*
*/
+#pragma once
+
#include "vk_loader_platform.h"
#include "loader.h"
-#ifndef DIRENT_INCLUDED
-#define DIRENT_INCLUDED
+#pragma once
/*
#ifdef __cplusplus
}
#endif
-
-#endif
* Author: Jon Ashburn <jon@lunarg.com>
*/
+#pragma once
+
#include <string.h>
#include "debug_utils.h"
#include "wsi.h"
*
*/
-#ifndef LOADER_H
-#define LOADER_H
+#pragma once
#include <vulkan/vulkan.h>
#include "vk_loader_platform.h"
VkResult setup_loader_term_phys_devs(struct loader_instance *inst);
VkStringErrorFlags vk_string_validate(const int max_length, const char *char_array);
-
-#endif // LOADER_H
* USE OR OTHER DEALINGS IN THE MATERIALS.
*/
-#ifndef MURMURHASH_H
-#define MURMURHASH_H 1
+#pragma once
#include <stdint.h>
#ifdef __cplusplus
}
#endif
-
-#endif
*
*/
-#ifndef WSI_H
-#define WSI_H
+#pragma once
#include "vk_loader_platform.h"
#include "loader.h"
const VkPhysicalDeviceSurfaceInfo2KHR *pSurfaceInfo,
uint32_t *pSurfaceFormatCount,
VkSurfaceFormat2KHR *pSurfaceFormats);
-
-#endif // WSI_H