mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 22:52:58 +00:00
fix build of blue again gcc does not have _disable and _enable, but MSVC have it.
svn path=/trunk/; revision=24312
This commit is contained in:
parent
c3a99cfb3e
commit
ce35dd9b7b
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,12 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
|
/* Available as intrinsics on MSVC */
|
||||||
|
static __inline void _disable(void) {__asm__ __volatile__("cli\n");}
|
||||||
|
static __inline void _enable(void) {__asm__ __volatile__("sti\n");}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** Definitions specific to this Device Driver Kit
|
** Definitions specific to this Device Driver Kit
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue