-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added check for stdbool.h header and forcing its use (#159)
When compiling YARA without Python bindings, stdbool.h is actually used if it can be used. However Python bindings completely ignore it resulting in YARA defining its own bool type with sizeof(bool) == sizeof(int). However before [#1377](VirusTotal/yara#1377), this can result in different compilation units using different sizes of bool type and chaos ensues.
- Loading branch information
Showing
1 changed file
with
24 additions
and
1 deletion.
There are no files selected for viewing
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