improved HAVE_VTE handling to prevent crashes

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@106 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2006-01-03 12:47:08 +00:00
parent 3833734cee
commit 544b5a4e41

View File

@ -40,11 +40,10 @@
#include "templates.h" #include "templates.h"
#include "encodings.h" #include "encodings.h"
#include "treeviews.h" #include "treeviews.h"
// include vte.h on non-Win32 systems, else define fake vte_init #ifdef HAVE_VTE
#if defined(GEANY_WIN32) || ! defined(HAVE_VTE)
# define vte_init() ;
#else
# include "vte.h" # include "vte.h"
#else
# define vte_init() ;
#endif #endif