aboutsummaryrefslogtreecommitdiff
path: root/src/common/pod-class.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/pod-class.h')
-rw-r--r--src/common/pod-class.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/common/pod-class.h b/src/common/pod-class.h
new file mode 100644
index 000000000..c07edb208
--- /dev/null
+++ b/src/common/pod-class.h
@@ -0,0 +1,11 @@
+// Copyright (c) 2012-2013 The Cryptonote developers
+// Distributed under the MIT/X11 software license, see the accompanying
+// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+#pragma once
+
+#if defined(_MSC_VER)
+#define POD_CLASS struct
+#else
+#define POD_CLASS class
+#endif