From 62608682f362ff5ecddb03ef80cb441f2ccea49b Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 30 九月 2022 19:19:07 +0800 Subject: [PATCH] 'bug修复' --- app/libxls/include/libxls/xlstypes.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/libxls/include/libxls/xlstypes.h b/app/libxls/include/libxls/xlstypes.h index 59d64f8..0db62cc 100644 --- a/app/libxls/include/libxls/xlstypes.h +++ b/app/libxls/include/libxls/xlstypes.h @@ -44,13 +44,13 @@ typedef uint32_t DWORD_UA; #else + #ifdef _WIN32 typedef __declspec(align(1)) uint16_t WORD_UA; typedef __declspec(align(1)) uint32_t DWORD_UA; #else -typedef uint16_t WORD_UA __attribute__((aligned(1))); // 2 bytes -typedef uint32_t DWORD_UA __attribute__((aligned(1))); // 4 bytes +typedef uint16_t WORD_UA __attribute__ ((aligned (1))); // 2 bytes +typedef uint32_t DWORD_UA __attribute__ ((aligned (1))); // 4 bytes #endif - #endif #endif -- Gitblit v1.8.0