Unaligned: Use correct MSVC define

pull/35/head
Paul Hollinsky 2021-05-05 12:32:29 -04:00
parent 295ba490aa
commit f752924a36
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
#ifndef __UNALIGNED_H_
#define __UNALIGNED_H_
#if defined(MSVC)
#if defined(_MSC_VER)
#define ICSNEO_UNALIGNED(x) __unaligned x
#else
#define ICSNEO_UNALIGNED(x) x