summaryrefslogtreecommitdiff
path: root/support.h
diff options
context:
space:
mode:
authorRoderick W. Smith <rodsmith@rodsbooks.com>2014-02-17 16:17:11 -0500
committerRoderick W. Smith <rodsmith@rodsbooks.com>2014-02-17 16:17:11 -0500
commit84aaff6b9cf3b802c621781cf9acd006aa5a3e66 (patch)
tree9f46bf77212466e4e66a2163ab86a8be39b62508 /support.h
parent22e88b5be2c0c3f92e34d95da45922abfa02a28d (diff)
downloadsgdisk-84aaff6b9cf3b802c621781cf9acd006aa5a3e66.tar.gz
Removed libicu dependency for UTF-16 partition names. Version 0.8.9
release.
Diffstat (limited to 'support.h')
-rw-r--r--support.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/support.h b/support.h
index 89ad8f1..9f00846 100644
--- a/support.h
+++ b/support.h
@@ -8,7 +8,7 @@
#ifndef __GPTSUPPORT
#define __GPTSUPPORT
-#define GPTFDISK_VERSION "0.8.8.4"
+#define GPTFDISK_VERSION "0.8.9"
#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__)
// Darwin (Mac OS) & FreeBSD: disk IOCTLs are different, and there is no lseek64
@@ -67,7 +67,7 @@
#define GPT_SIZE 128
#define HEADER_SIZE UINT32_C(92)
#define GPT_RESERVED 420
-#define NAME_SIZE 72
+#define NAME_SIZE 36 // GPT allows 36 UTF-16LE code units for a name in a 128 byte partition entry
using namespace std;