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:
parent
3833734cee
commit
544b5a4e41
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user