mirror of
https://github.com/reactos/reactos.git
synced 2026-07-07 09:40:21 +08:00
fix circular-dependency include
svn path=/trunk/; revision=6682
This commit is contained in:
@@ -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__)))
|
||||
|
||||
Reference in New Issue
Block a user