History

Fix for Microsoft compilers

Miccrosoft Visual Sudio (Express) 2008 and 2010 do not accept variable definitions C99 style, reported by Fabio <oldfaber@gmail.com>

seyko committed 11 years ago

Commit db081221 parent d80593b2 files · +2 −2Browse files

Showing the changes to lib (1 of 2 files). Show all

Unified · Split

lib/bcheck.c+1−1
@@ -81,7 +81,7 @@ void __bound_new_region(void *p, size_t size); · 80 unmodified lines
81int __bound_delete_region(void *p);81int __bound_delete_region(void *p);
82 82
83#ifdef __attribute__83#ifdef __attribute__
84 /* __attribute__ is redifened in system headers */84 /* an __attribute__ macro is defined in the system headers */
85 #undef __attribute__ 85 #undef __attribute__
86#endif86#endif
87#define FASTCALL __attribute__((regparm(3)))87#define FASTCALL __attribute__((regparm(3)))

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t