msvc: bool date type should have 1 byte size, not 4. C++ compiler exposed this issue. bug reported by Axel Souchet

This commit is contained in:
Nguyen Anh Quynh 2014-05-15 09:36:00 +08:00
parent f7850266d5
commit e27d10137a

View File

@ -1,8 +1,8 @@
#pragma once
#ifndef __cplusplus
typedef unsigned int bool;
typedef unsigned char bool;
#define false 0
#define true 1
#endif
#endif