[ifdef] properly check for defined

This commit is contained in:
akallabeth
2023-11-10 08:56:14 +01:00
committed by akallabeth
parent ad44573164
commit 13b44b8b77
5 changed files with 9 additions and 9 deletions

View File

@@ -26,7 +26,7 @@
#include <wayland-client.h>
#include <stdbool.h>
#if __GNUC__ >= 4
#if defined(__GNUC__) && (__GNUC__ >= 4)
#define UWAC_API __attribute__((visibility("default")))
#else
#define UWAC_API