We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c76670 commit 5bad7e3Copy full SHA for 5bad7e3
include/ada/common_defs.h
@@ -206,14 +206,17 @@ namespace ada {
206
207
#ifndef ADA_HAS_ICU
208
#if __has_include(<unicode/uidna.h>)
209
-#include <unicode/utypes.h>
210
-#include <unicode/uidna.h>
211
-#include <unicode/utf8.h>
212
#define ADA_HAS_ICU 1
213
#else
214
#define ADA_HAS_ICU 0
215
#endif // __has_include(<unicode/uidna.h>)
216
#endif // ADA_HAS_ICU
217
+#if ADA_HAS_ICU
+#include <unicode/utypes.h>
+#include <unicode/uidna.h>
218
+#include <unicode/utf8.h>
219
+#endif // ADA_HAS_ICU
220
+
221
222
#endif // ADA_COMMON_DEFS_H
0 commit comments