mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-25 10:42:18 -05:00
Ignore generated config.h properly on Unix
This commit is contained in:
parent
aae8c393ed
commit
a98dc18d55
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,6 +9,7 @@ autom4te.cache/
|
||||
compile
|
||||
config.guess
|
||||
config.h.in
|
||||
config.h
|
||||
config.log
|
||||
config.status
|
||||
config.sub
|
||||
|
@ -32,7 +32,11 @@
|
||||
#endif
|
||||
|
||||
#undef PACKAGE
|
||||
#include "../../config.h" /* for #define OLD_PERL */
|
||||
#ifdef WIN32
|
||||
#include "../../config-win32.h" /* for #define OLD_PERL */
|
||||
#else
|
||||
#include "../../config.h"
|
||||
#endif
|
||||
#include "hexchat-plugin.h"
|
||||
|
||||
static xchat_plugin *ph; /* plugin handle */
|
||||
|
@ -58,7 +58,7 @@
|
||||
|
||||
#ifdef WIN32
|
||||
#include "../../src/dirent/dirent-win32.h"
|
||||
#include "../../config.h"
|
||||
#include "../../config-win32.h"
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
|
@ -11,7 +11,7 @@
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\config.h" />
|
||||
<ClInclude Include="..\..\config-win32.h" />
|
||||
<ClInclude Include="cfgfiles.h" />
|
||||
<ClInclude Include="chanopt.h" />
|
||||
<ClInclude Include="ctcp.h" />
|
||||
|
@ -107,7 +107,7 @@
|
||||
<ClInclude Include="hexchat-plugin.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\config.h">
|
||||
<ClInclude Include="..\..\config-win32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="strlutil.h">
|
||||
|
@ -11,7 +11,7 @@
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\config.h" />
|
||||
<ClInclude Include="..\..\config-win32.h" />
|
||||
<ClInclude Include="cfgfiles.h" />
|
||||
<ClInclude Include="chanopt.h" />
|
||||
<ClInclude Include="ctcp.h" />
|
||||
|
@ -107,7 +107,7 @@
|
||||
<ClInclude Include="hexchat-plugin.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\config.h">
|
||||
<ClInclude Include="..\..\config-win32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="strlutil.h">
|
||||
|
@ -1,4 +1,8 @@
|
||||
#ifdef WIN32
|
||||
#include "../../config-win32.h"
|
||||
#else
|
||||
#include "../../config.h"
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
#include <time.h> /* need time_t */
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#else
|
||||
|
||||
#include "../../config.h"
|
||||
#include "../../config-win32.h"
|
||||
#ifdef USE_IPV6
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
|
@ -23,12 +23,13 @@
|
||||
#include <stdio.h>
|
||||
#include <glib.h>
|
||||
|
||||
#ifndef WIN32
|
||||
#ifdef WIN32
|
||||
#include "../../config-win32.h" /* grab USE_IPV6 and LOOKUPD defines */
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include "../../config.h"
|
||||
#endif
|
||||
|
||||
#include "../../config.h" /* grab USE_IPV6 and LOOKUPD defines */
|
||||
|
||||
#define WANTSOCKET
|
||||
#define WANTARPA
|
||||
#define WANTDNS
|
||||
|
@ -22,11 +22,13 @@
|
||||
#include <openssl/err.h> /* ERR_() */
|
||||
#ifdef WIN32
|
||||
#include <openssl/rand.h> /* RAND_seed() */
|
||||
#include "../../config-win32.h" /* HAVE_SNPRINTF */
|
||||
#else
|
||||
#include "../../config.h"
|
||||
#endif
|
||||
#include <time.h> /* asctime() */
|
||||
#include <string.h> /* strncpy() */
|
||||
#include "ssl.h" /* struct cert_info */
|
||||
#include "../../config.h" /* HAVE_SNPRINTF */
|
||||
|
||||
#ifndef HAVE_SNPRINTF
|
||||
#include <glib.h>
|
||||
|
@ -33,12 +33,14 @@
|
||||
#include <process.h>
|
||||
#include <io.h>
|
||||
#include "../dirent/dirent-win32.h"
|
||||
#include "../../config-win32.h"
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include <pwd.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/utsname.h>
|
||||
#include <dirent.h>
|
||||
#include "../../config.h"
|
||||
#endif
|
||||
|
||||
#include <fcntl.h>
|
||||
@ -48,7 +50,6 @@
|
||||
#include <glib.h>
|
||||
#include <ctype.h>
|
||||
#include "util.h"
|
||||
#include "../../config.h"
|
||||
|
||||
#if defined (USING_FREEBSD) || defined (__APPLE__)
|
||||
#include <sys/sysctl.h>
|
||||
|
@ -1,4 +1,8 @@
|
||||
#ifdef WIN32
|
||||
#include "../../config-win32.h"
|
||||
#else
|
||||
#include "../../config.h"
|
||||
#endif
|
||||
|
||||
#define DISPLAY_NAME "HexChat"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <winver.h>
|
||||
#include "../../config.h"
|
||||
#include "../../config-win32.h"
|
||||
#include "../../resource.h"
|
||||
|
||||
XC_ICON ICON "../../hexchat.ico"
|
||||
|
@ -23,7 +23,11 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef WIN32
|
||||
#include "../../config-win32.h"
|
||||
#else
|
||||
#include "../../config.h"
|
||||
#endif
|
||||
|
||||
#include "sexy-iso-codes.h"
|
||||
|
||||
|
@ -50,7 +50,11 @@
|
||||
#include <gtk/gtkwindow.h>
|
||||
|
||||
#ifdef XCHAT
|
||||
#ifdef WIN32
|
||||
#include "../../config-win32.h"
|
||||
#else
|
||||
#include "../../config.h" /* can define USE_XLIB here */
|
||||
#endif
|
||||
#else
|
||||
#define USE_XLIB
|
||||
#endif
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include "../../config.h"
|
||||
#include "../../config-win32.h"
|
||||
|
||||
char *
|
||||
comma ()
|
||||
|
Loading…
Reference in New Issue
Block a user