Skip to content

Commit

Permalink
msvc: bool date type should have 1 byte size, not 4. C++ compiler exp…
Browse files Browse the repository at this point in the history
…osed this issue. bug reported by Axel Souchet
  • Loading branch information
aquynh committed May 15, 2014
1 parent f785026 commit e27d101
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions msvc/headers/stdbool.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once

#ifndef __cplusplus
typedef unsigned int bool;
typedef unsigned char bool;

#define false 0
#define true 1
#endif
#endif

0 comments on commit e27d101

Please sign in to comment.