diff options
author | Rod Smith <rodsmith@rodsbooks.com> | 2022-04-10 09:28:08 -0400 |
---|---|---|
committer | Rod Smith <rodsmith@rodsbooks.com> | 2022-04-10 09:28:08 -0400 |
commit | edc67b66dbd09bf9a905bb5f1eddd1c19c2df294 (patch) | |
tree | 0676771891810a7e386d48e62b81470f80fe1c80 /gptpart.cc | |
parent | fd60f743628e16180daf3b1719974fa4dadf8f90 (diff) | |
download | sgdisk-edc67b66dbd09bf9a905bb5f1eddd1c19c2df294.tar.gz |
Patch set from Bin Meng to clean up some code & support building sgdisk for Windows
Diffstat (limited to 'gptpart.cc')
-rw-r--r-- | gptpart.cc | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -15,17 +15,16 @@ #define __STDC_LIMIT_MACROS #define __STDC_CONSTANT_MACROS -#ifdef USE_UTF16 -#include <unicode/ustdio.h> -#else -#define UnicodeString string -#endif - #include <string.h> #include <stdio.h> #include <iostream> #include "gptpart.h" #include "attributes.h" +#ifdef USE_UTF16 +#include <unicode/ustdio.h> +#else +#define UnicodeString std::string +#endif using namespace std; |