Fixed compile of libretroshare on Windows. The corrected pro files are not included.

Moved the includes of rswin.h from the header files to the c files.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5655 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-10-09 23:07:51 +00:00
parent 9ff0d70997
commit 78edc7687e
17 changed files with 17 additions and 31 deletions

View File

@ -23,6 +23,7 @@
#ifdef WINDOWS_SYS
#include "util/rsstring.h"
#include "util/rswin.h"
#endif
#include "dbase/fimonitor.h"

View File

@ -1,3 +1,7 @@
#ifdef WINDOWS_SYS
#include "util/rswin.h"
#endif // WINDOWS_SYS
#include "ftfileprovider.h"
#include "ftchunkmap.h"
@ -5,10 +9,6 @@
#include <stdlib.h>
#include <stdio.h>
#ifdef WINDOWS_SYS
#include "util/rswin.h"
#endif // WINDOWS_SYS
/********
* #define DEBUG_FT_FILE_PROVIDER 1
* #define DEBUG_TRANSFERS 1 // TO GET TIMESTAMPS of DATA READING

View File

@ -8,6 +8,7 @@
#ifdef WINDOWS_SYS
#include "util/rsstring.h"
#include "util/rswin.h"
#endif
extern "C" {

View File

@ -39,7 +39,6 @@
#ifndef RS_GPG_AUTH_HEADER
#define RS_GPG_AUTH_HEADER
#include "util/rswin.h"
#include <openssl/ssl.h>
#include <openssl/evp.h>
#include "util/rsthreads.h"

View File

@ -28,6 +28,10 @@
*
*/
#ifdef WINDOWS_SYS
#include "util/rswin.h"
#endif // WINDOWS_SYS
#include "authssl.h"
#include "sslfns.h"
#include "cleanupxpgp.h"

View File

@ -39,8 +39,6 @@
*
*/
#include "util/rswin.h"
#include <openssl/ssl.h>
#include <openssl/evp.h>

View File

@ -23,8 +23,10 @@
*
*/
#ifdef WINDOWS_SYS
#include "util/rswin.h"
#include <ws2tcpip.h>
#endif // WINDOWS_SYS
#include "pqi/pqinetwork.h"
#include "util/rsnet.h"

View File

@ -45,12 +45,10 @@
#else
#include "util/rswin.h"
#include "util/rsnet.h" /* more generic networking header */
#include <winsock2.h>
#include <ws2tcpip.h>
typedef int socklen_t;
//typedef unsigned long in_addr_t;

View File

@ -28,8 +28,6 @@
#ifndef MRK_PQI_SSL_HEADER
#define MRK_PQI_SSL_HEADER
#include "util/rswin.h"
#include <openssl/ssl.h>
// operating system specific network header.

View File

@ -28,8 +28,6 @@
#ifndef MRK_PQI_SSL_UDP_HEADER
#define MRK_PQI_SSL_UDP_HEADER
#include "util/rswin.h"
#include <openssl/ssl.h>
// operating system specific network header.

View File

@ -33,8 +33,6 @@
/******************** notify of new Cert **************************/
#include "util/rswin.h"
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/ssl.h>

View File

@ -28,9 +28,11 @@
#include <unistd.h>
// for locking instances
#ifndef WINDOWS_SYS
// for locking instances
#include <errno.h>
#else
#include "util/rswin.h"
#endif
#include "util/rsdebug.h"

View File

@ -40,10 +40,8 @@
#include <netinet/in.h>
#else
#include "util/rswin.h"
#include <stdint.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stdio.h>
// #include <stdint.h>
typedef int socklen_t;

View File

@ -25,10 +25,6 @@
*
*/
#ifdef WINDOWS_SYS
#include "util/rswin.h"
#endif
#ifndef WINDOWS_SYS
#include <netinet/in.h>
#endif

View File

@ -6,7 +6,6 @@
#include <cstdio>
#ifdef WINDOWS_SYS
#include "util/rswin.h"
#include <windows.h>
#include <tchar.h>
#include <stdio.h>

View File

@ -44,10 +44,8 @@
#else
#include "util/rswin.h"
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stdio.h> /* for ssize_t */
//typedef uint32_t socklen_t;

View File

@ -27,10 +27,6 @@
*/
#ifdef WINDOWS_SYS
#include "util/rswin.h"
#endif
#include <pthread.h>
#include <inttypes.h>
#include <string>