Created
May 19, 2015 06:47
-
-
Save genuinelucifer/39a66b7883de884a37bb to your computer and use it in GitHub Desktop.
CS_VALUE_TYPE struct incompilable even with one array...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tests/Basic/Basic.h b/tests/Basic/Basic.h | |
index 488dd2c..62ec2a8 100644 | |
--- a/tests/Basic/Basic.h | |
+++ b/tests/Basic/Basic.h | |
@@ -710,3 +710,17 @@ public: | |
bool operator ==(const DifferentConstOverloads& other); | |
bool operator ==(int number) const; | |
}; | |
+ | |
+#define SCE_NP_ONLINEID_MAX_LENGTH 5 | |
+#define kPacketPayloadSize 5 | |
+#define uint8_t char | |
+#define CS_VALUE_TYPE | |
+struct CS_VALUE_TYPE UnpackedPacket | |
+{ | |
+ char fromOnlineId[SCE_NP_ONLINEID_MAX_LENGTH]; | |
+ /* | |
+ char toOnlineId[SCE_NP_ONLINEID_MAX_LENGTH]; | |
+ uint8_t buffer[kPacketPayloadSize]; | |
+ */ | |
+ size_t size; | |
+}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment