mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
fix circular-dependency include
svn path=/trunk/; revision=6682
This commit is contained in:
parent
5dd7488660
commit
3d93ac09f7
1 changed files with 5 additions and 2 deletions
|
@ -1,9 +1,12 @@
|
|||
#ifndef _INCLUDE_KERNEL32_H
|
||||
#define _INCLUDE_KERNEL32_H
|
||||
/* $Id: error.h,v 1.4 2003/04/26 00:25:01 hyperion Exp $ */
|
||||
/* $Id: error.h,v 1.5 2003/11/18 05:09:17 royce Exp $ */
|
||||
#include <windows.h>
|
||||
#define NTOS_MODE_USER
|
||||
#include <ntos.h>
|
||||
#ifndef _NTOS_H
|
||||
#error you must include <ntos.h> before you can include kernel32/error.h
|
||||
/*#include <ntos.h>*/
|
||||
#endif/*_NTOS_H*/
|
||||
|
||||
#define SetLastErrorByStatus(__S__) \
|
||||
((void)SetLastError(RtlNtStatusToDosError(__S__)))
|
||||
|
|
Loading…
Reference in a new issue