[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[myserver-commit] [2806] Removed pragma directives from the source code.
From: |
Giuseppe Scrivano |
Subject: |
[myserver-commit] [2806] Removed pragma directives from the source code. |
Date: |
Sat, 13 Sep 2008 10:54:29 +0000 |
Revision: 2806
http://svn.sv.gnu.org/viewvc/?view=rev&root=myserver&revision=2806
Author: gscrivano
Date: 2008-09-13 10:54:28 +0000 (Sat, 13 Sep 2008)
Log Message:
-----------
Removed pragma directives from the source code.
Modified Paths:
--------------
trunk/myserver/src/base/socket/socket.cpp
trunk/myserver/src/base/socket/ssl_socket.cpp
trunk/myserver/src/filter/gzip/gzip.cpp
trunk/myserver/src/filter/gzip/gzip_decompress.cpp
trunk/myserver/src/myserver.cpp
Modified: trunk/myserver/src/base/socket/socket.cpp
===================================================================
--- trunk/myserver/src/base/socket/socket.cpp 2008-09-13 09:19:48 UTC (rev
2805)
+++ trunk/myserver/src/base/socket/socket.cpp 2008-09-13 10:54:28 UTC (rev
2806)
@@ -22,9 +22,6 @@
extern "C" {
#include <string.h>
#include <stdio.h>
-#ifdef WIN32
-//#include <Ws2tcpip.h>
-#endif
#ifndef WIN32
#include <sys/types.h>
#include <sys/socket.h>
@@ -40,14 +37,8 @@
using namespace std;
-#ifdef WIN32
-#pragma comment(lib,"wsock32.lib")
-#pragma comment(lib,"ws2_32.lib")
-#endif
-
bool Socket::denyBlockingOperations = false;
-
/*!
*Source code to wrap the socket library to MyServer project.
*/
Modified: trunk/myserver/src/base/socket/ssl_socket.cpp
===================================================================
--- trunk/myserver/src/base/socket/ssl_socket.cpp 2008-09-13 09:19:48 UTC
(rev 2805)
+++ trunk/myserver/src/base/socket/ssl_socket.cpp 2008-09-13 10:54:28 UTC
(rev 2806)
@@ -23,9 +23,6 @@
extern "C" {
#include <string.h>
#include <stdio.h>
-#ifdef WIN32
- //#include <Ws2tcpip.h>
-#endif
#ifndef WIN32
#include <sys/types.h>
#include <sys/socket.h>
@@ -41,19 +38,6 @@
using namespace std;
-#ifdef WIN32
-
-#pragma comment(lib,"wsock32.lib")
-#pragma comment(lib,"ws2_32.lib")
-
-#ifndef DO_NOT_USE_SSL
- #pragma comment(lib,"libssl.lib")/*! Import the OpenSSL library. */
- #pragma comment(lib,"libcrypto.lib")/*! Import the OpenSSL library. */
-#endif
-
-#endif
-
-
/*!
*Constructor of the class.
*/
Modified: trunk/myserver/src/filter/gzip/gzip.cpp
===================================================================
--- trunk/myserver/src/filter/gzip/gzip.cpp 2008-09-13 09:19:48 UTC (rev
2805)
+++ trunk/myserver/src/filter/gzip/gzip.cpp 2008-09-13 10:54:28 UTC (rev
2806)
@@ -23,7 +23,6 @@
#ifdef WIN32
#include <direct.h>
#include <errno.h>
-#pragma comment (lib,"libz.lib")
#endif
#ifdef NOT_WIN
#include <string.h>
Modified: trunk/myserver/src/filter/gzip/gzip_decompress.cpp
===================================================================
--- trunk/myserver/src/filter/gzip/gzip_decompress.cpp 2008-09-13 09:19:48 UTC
(rev 2805)
+++ trunk/myserver/src/filter/gzip/gzip_decompress.cpp 2008-09-13 10:54:28 UTC
(rev 2806)
@@ -22,7 +22,6 @@
#ifdef WIN32
#include <direct.h>
#include <errno.h>
-#pragma comment (lib,"libz.lib")
#endif
#ifdef NOT_WIN
#include <string.h>
Modified: trunk/myserver/src/myserver.cpp
===================================================================
--- trunk/myserver/src/myserver.cpp 2008-09-13 09:19:48 UTC (rev 2805)
+++ trunk/myserver/src/myserver.cpp 2008-09-13 10:54:28 UTC (rev 2806)
@@ -35,11 +35,6 @@
#endif
}
-/* External libraries to be included in the project. */
-#ifdef WIN32
-#pragma comment(lib,"winmm.lib")
-#endif
-
#define MYSERVER_RUNAS_CONSOLE 1
#define MYSERVER_RUNAS_SERVICE 2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [myserver-commit] [2806] Removed pragma directives from the source code.,
Giuseppe Scrivano <=