~george-edison55/jethttp/jethttp-singlethread

« back to all changes in this revision

Viewing changes to src/main.cpp

  • Committer: Nathan Osman
  • Date: 2011-10-14 22:15:14 UTC
  • Revision ID: admin@quickmediasolutions.com-20111014221514-p9zkf7g61ra0lpf3
Made some changes to allow the application to compile on Windows.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#include <QSocketNotifier>
18
18
#endif
19
19
 
 
20
// Windows specific code
 
21
#ifdef Q_OS_WIN
 
22
#include <windows.h>
 
23
#endif
 
24
 
20
25
// JetHTTP includes
21
 
#include "CJetHTTPServer.h"
 
26
#include <CJetHTTPServer.h>
22
27
 
 
28
// Signal handler
23
29
#ifdef Q_OS_LINUX
24
30
 
25
31
int pair[2];
44
50
 
45
51
        CJetHTTPServer server;
46
52
 
 
53
        // Install the signal handler
47
54
        #ifdef Q_OS_LINUX
48
55
 
49
56
        // Set up the signals