linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #06270
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 3127: size_t from a better place
------------------------------------------------------------
revno: 3127
committer: crise <crise@xxxxxxxxxx>
branch nick: trunk
timestamp: Sat 2012-11-10 21:19:26 +0200
message:
size_t from a better place
modified:
plugins/Example/Dialog.h
plugins/Example/stdafx.h
pluginsdk/c/pluginsdk/Config.h
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'plugins/Example/Dialog.h'
--- plugins/Example/Dialog.h 2012-11-10 03:44:55 +0000
+++ plugins/Example/Dialog.h 2012-11-10 19:19:26 +0000
@@ -1,4 +1,3 @@
-# include "resource.h"
/*
* Copyright (C) 2012 Jacek Sieka, arnetheduck on gmail point com
*
=== modified file 'plugins/Example/stdafx.h'
--- plugins/Example/stdafx.h 2012-11-04 19:15:24 +0000
+++ plugins/Example/stdafx.h 2012-11-10 19:19:26 +0000
@@ -34,6 +34,7 @@
#define STRINGIZE(X) DO_STRINGIZE(X)
#define DO_STRINGIZE(X) #X
+#include <stddef.h>
#include <stdint.h>
#include <pluginsdk/PluginDefs.h>
=== modified file 'pluginsdk/c/pluginsdk/Config.h'
--- pluginsdk/c/pluginsdk/Config.h 2012-11-10 17:16:16 +0000
+++ pluginsdk/c/pluginsdk/Config.h 2012-11-10 19:19:26 +0000
@@ -21,18 +21,7 @@
#ifndef PLUGINSDK_CONFIG_H
#define PLUGINSDK_CONFIG_H
-// TODO need this for size_t...
-#ifdef _WIN32
-
-#include <windows.h>
-#include <tchar.h>
-
-#else
-
-#include <unistd.h>
-
-#endif
-
+#include <stddef.h>
#include <stdint.h>
#include <pluginsdk/PluginDefs.h>