summary refs log tree commit diff stats
path: root/src/fe-gtk
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-21 04:41:59 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-21 04:41:59 +0200
commitdf33905ad18dafc26ad62bda12515890299b4bdc (patch)
tree5ddc8423eff96402099f2465a52ecad36136b918 /src/fe-gtk
parent0ca97e210869dbf2db3df3fcbb3c6266cd198537 (diff)
Relocate typedef.h
Diffstat (limited to 'src/fe-gtk')
-rw-r--r--src/fe-gtk/fe-gtk-xp.vcxproj1
-rw-r--r--src/fe-gtk/fe-gtk-xp.vcxproj.filters3
-rw-r--r--src/fe-gtk/fe-gtk.vcxproj1
-rw-r--r--src/fe-gtk/fe-gtk.vcxproj.filters3
-rw-r--r--src/fe-gtk/sexy-spell-entry.c2
-rw-r--r--src/fe-gtk/typedef.h11
6 files changed, 1 insertions, 20 deletions
diff --git a/src/fe-gtk/fe-gtk-xp.vcxproj b/src/fe-gtk/fe-gtk-xp.vcxproj
index 3c1bbd2d..e00efd77 100644
--- a/src/fe-gtk/fe-gtk-xp.vcxproj
+++ b/src/fe-gtk/fe-gtk-xp.vcxproj
@@ -127,7 +127,6 @@
     <ClInclude Include="sexy-marshal.h" />

     <ClInclude Include="sexy-spell-entry.h" />

     <ClInclude Include="textgui.h" />

-    <ClInclude Include="typedef.h" />

     <ClInclude Include="urlgrab.h" />

     <ClInclude Include="userlistgui.h" />

     <ClInclude Include="xtext.h" />

diff --git a/src/fe-gtk/fe-gtk-xp.vcxproj.filters b/src/fe-gtk/fe-gtk-xp.vcxproj.filters
index 370a1ad4..75a213c7 100644
--- a/src/fe-gtk/fe-gtk-xp.vcxproj.filters
+++ b/src/fe-gtk/fe-gtk-xp.vcxproj.filters
@@ -90,9 +90,6 @@
     <ClInclude Include="textgui.h">

       <Filter>Header Files</Filter>

     </ClInclude>

-    <ClInclude Include="typedef.h">

-      <Filter>Header Files</Filter>

-    </ClInclude>

     <ClInclude Include="urlgrab.h">

       <Filter>Header Files</Filter>

     </ClInclude>

diff --git a/src/fe-gtk/fe-gtk.vcxproj b/src/fe-gtk/fe-gtk.vcxproj
index 29add83f..ae10c04f 100644
--- a/src/fe-gtk/fe-gtk.vcxproj
+++ b/src/fe-gtk/fe-gtk.vcxproj
@@ -124,7 +124,6 @@
     <ClInclude Include="sexy-marshal.h" />

     <ClInclude Include="sexy-spell-entry.h" />

     <ClInclude Include="textgui.h" />

-    <ClInclude Include="typedef.h" />

     <ClInclude Include="urlgrab.h" />

     <ClInclude Include="userlistgui.h" />

     <ClInclude Include="xtext.h" />

diff --git a/src/fe-gtk/fe-gtk.vcxproj.filters b/src/fe-gtk/fe-gtk.vcxproj.filters
index 370a1ad4..75a213c7 100644
--- a/src/fe-gtk/fe-gtk.vcxproj.filters
+++ b/src/fe-gtk/fe-gtk.vcxproj.filters
@@ -90,9 +90,6 @@
     <ClInclude Include="textgui.h">

       <Filter>Header Files</Filter>

     </ClInclude>

-    <ClInclude Include="typedef.h">

-      <Filter>Header Files</Filter>

-    </ClInclude>

     <ClInclude Include="urlgrab.h">

       <Filter>Header Files</Filter>

     </ClInclude>

diff --git a/src/fe-gtk/sexy-spell-entry.c b/src/fe-gtk/sexy-spell-entry.c
index 87fa6582..02f6b615 100644
--- a/src/fe-gtk/sexy-spell-entry.c
+++ b/src/fe-gtk/sexy-spell-entry.c
@@ -34,7 +34,7 @@
 #include "sexy-marshal.h"
 
 #ifdef WIN32
-#include "typedef.h"
+#include "../common/typedef.h"
 #include <io.h>
 #else
 #include <unistd.h>
diff --git a/src/fe-gtk/typedef.h b/src/fe-gtk/typedef.h
deleted file mode 100644
index b20612ea..00000000
--- a/src/fe-gtk/typedef.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifndef SSIZE_T_DEFINED
-#ifdef ssize_t
-#undef ssize_t
-#endif
-#ifdef _WIN64
-typedef __int64          ssize_t;
-#else
-typedef _W64 int         ssize_t;
-#endif
-#define SSIZE_T_DEFINED
-#endif