[EXT2LIB]

* Include NDK headers on-demand.
* Set Mke2fs.h as a PCH.

svn path=/trunk/; revision=53285
This commit is contained in:
Amine Khaldi 2011-08-17 14:05:30 +00:00
parent 42b02afa60
commit 2a1f2c1d6c
3 changed files with 6 additions and 6 deletions

View file

@ -10,4 +10,5 @@ list(APPEND SOURCE
Super.c
Uuid.c)
add_library(ext2lib ${SOURCE})
add_pch(ext2lib Mke2fs.h)
add_dependencies(ext2lib psdk)

View file

@ -5,15 +5,15 @@
* HOMEPAGE: http://ext2.yeah.net
*/
#pragma once
/* INCLUDES **************************************************************/
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
#include <ndk/ntndk.h>
#include <ndk/iofuncs.h>
#include <ndk/kefuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/rtlfuncs.h>
#include <fmifs/fmifs.h>
#include "string.h"

View file

@ -7,8 +7,7 @@
/* INCLUDES **************************************************************/
#include "windows.h"
#include "types.h"
#include "Mke2fs.h"
/* DEFINITIONS ***********************************************************/