ultimatepp/archive/uppsrc/Web/Web.h
cxl 5b610cc0e6 upp.src: reorganize (TCore... moved to archive)
git-svn-id: svn://ultimatepp.org/upp/trunk@14426 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2020-05-03 08:26:26 +00:00

39 lines
708 B
C++

#ifndef WEB_H
#define WEB_H
#include <Core/Core.h>
//#include <RichText/RichText.h>
#if defined(PLATFORM_WIN32)
#define W_P(w, p) w
#if !defined(PLATFORM_CYGWIN)
#include <winsock2.h>
#endif
typedef int socklen_t;
#elif defined(PLATFORM_POSIX)
#define W_P(w, p) p
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
//#include <libiberty.h>
#else
#error Unsupported platform
#endif//PLATFORM switch
namespace Upp {
#include "util.h"
#include "html.h"
//#include "RichHtml.h"
#include "socket.h"
#include "httpsrv.h"
#include "httpcli.h"
#include "auth.h"
#include "smtp.h"
#include "sproc.h"
#include "ScgiServer.h"
}
#endif