From edc67b66dbd09bf9a905bb5f1eddd1c19c2df294 Mon Sep 17 00:00:00 2001 From: Rod Smith Date: Sun, 10 Apr 2022 09:28:08 -0400 Subject: Patch set from Bin Meng to clean up some code & support building sgdisk for Windows --- gptpart.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'gptpart.cc') diff --git a/gptpart.cc b/gptpart.cc index b83254d..5fe7b5a 100644 --- a/gptpart.cc +++ b/gptpart.cc @@ -15,17 +15,16 @@ #define __STDC_LIMIT_MACROS #define __STDC_CONSTANT_MACROS -#ifdef USE_UTF16 -#include -#else -#define UnicodeString string -#endif - #include #include #include #include "gptpart.h" #include "attributes.h" +#ifdef USE_UTF16 +#include +#else +#define UnicodeString std::string +#endif using namespace std; -- cgit v1.2.1