Statistics
| Branch: | Tag: | Revision:

mongoose / examples / WinCE / http_server / stdafx.h @ eaef5bd1

History | View | Annotate | Download (1.3 KB)

1
// stdafx.h : include file for standard system include files,
2
// or project specific include files that are used frequently, but
3
// are changed infrequently
4
//
5

    
6
#pragma once
7

    
8
#pragma comment(linker, "/nodefaultlib:libc.lib")
9
#pragma comment(linker, "/nodefaultlib:libcd.lib")
10

    
11
// NOTE - this value is not strongly correlated to the Windows CE OS version
12
// being targeted
13
#define WINVER _WIN32_WCE
14

    
15
#include <ceconfig.h>
16
#if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP)
17
#define SHELL_AYGSHELL
18
#endif
19

    
20
#ifdef _CE_DCOM
21
#define _ATL_APARTMENT_THREADED
22
#endif
23

    
24
#include <windows.h>
25

    
26
#include <aygshell.h>
27
#pragma comment(lib, "aygshell.lib")
28

    
29
#include <stdio.h>
30
#include <tchar.h>
31

    
32
#if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP)
33
#ifndef _DEVICE_RESOLUTION_AWARE
34
#define _DEVICE_RESOLUTION_AWARE
35
#endif
36
#endif
37

    
38
#ifdef _DEVICE_RESOLUTION_AWARE
39
#include "DeviceResolutionAware.h"
40
#endif
41

    
42
#if _WIN32_WCE < 0x500 && \
43
    (defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP))
44
#pragma comment(lib, "ccrtrtti.lib")
45
#ifdef _X86_
46
#if defined(_DEBUG)
47
#pragma comment(lib, "libcmtx86d.lib")
48
#else
49
#pragma comment(lib, "libcmtx86.lib")
50
#endif
51
#endif
52
#endif
53

    
54
#include <altcecrt.h>
55

    
56
// TODO: reference additional headers your program requires here