[ros-diffs] [greatlrd] 26203: fixing newdev.h compatible with DDK version 3790.1830 it did not have #include <pshpack1.h> and #include <poppack.h>
greatlrd at svn.reactos.org
greatlrd at svn.reactos.org
Fri Mar 30 10:47:54 CEST 2007
Author: greatlrd
Date: Fri Mar 30 12:47:54 2007
New Revision: 26203
URL: http://svn.reactos.org/svn/reactos?rev=26203&view=rev
Log:
fixing newdev.h compatible with DDK version 3790.1830
it did not have #include <pshpack1.h> and #include <poppack.h>
Modified:
trunk/reactos/include/ddk/newdev.h
Modified: trunk/reactos/include/ddk/newdev.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/newdev.h?rev=26203&r1=26202&r2=26203&view=diff
==============================================================================
--- trunk/reactos/include/ddk/newdev.h (original)
+++ trunk/reactos/include/ddk/newdev.h Fri Mar 30 12:47:54 2007
@@ -20,13 +20,10 @@
*
*/
-#ifndef __NEWDEV_H
-#define __NEWDEV_H
+#ifndef _INC_NEWDEV
+#define _INC_NEWDEV
-#if __GNUC__ >=3
-#pragma GCC system_header
-#endif
-
+#include <pshpack1.h>
#ifdef __cplusplus
extern "C" {
#endif
@@ -44,6 +41,8 @@
LPCSTR FullInfPath,
DWORD InstallFlags,
PBOOL bRebootRequired OPTIONAL);
+
+
BOOL WINAPI
UpdateDriverForPlugAndPlayDevicesW(
@@ -63,4 +62,6 @@
}
#endif
+#include <poppack.h>
+
#endif /* __NEWDEV_H */
More information about the Ros-diffs
mailing list