Skip to content

Commit

Permalink
Use #include with < and > for ICU headers
Browse files Browse the repository at this point in the history
  • Loading branch information
rmisev committed Jul 9, 2024
1 parent 45cfe00 commit a28a854
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/url_idna.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@
// ICU: only C API is used (U_SHOW_CPLUSPLUS_API 0)
// https://unicode-org.github.io/icu/userguide/icu4c/build.html#icu-as-a-system-level-library
# define U_SHOW_CPLUSPLUS_API 0 // NOLINT(*-macro-*)
# include "unicode/uchar.h" // u_getUnicodeVersion
# include "unicode/uclean.h"
# include "unicode/uidna.h"
# include <unicode/uchar.h> // u_getUnicodeVersion
# include <unicode/uclean.h> // u_cleanup
# include <unicode/uidna.h>
# include <unicode/uversion.h> // u_getVersion
#endif

#include <algorithm>
Expand Down

0 comments on commit a28a854

Please sign in to comment.