aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.h
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-07-08 17:08:08 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2009-07-08 17:08:08 -0400
commit3c3401d47c364140d8e1ebe95f6cb2b9e188f698 (patch)
treec8ab81955bd2538e119827b7349f65d756e4f612 /src/textadept.h
parent81a4056255a288dcd05189b9ce8a5bec3a43679d (diff)
downloadtextadept-3c3401d47c364140d8e1ebe95f6cb2b9e188f698.tar.gz
textadept-3c3401d47c364140d8e1ebe95f6cb2b9e188f698.zip
Linux version can be installed and run from anywhere.
Diffstat (limited to 'src/textadept.h')
-rw-r--r--src/textadept.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/textadept.h b/src/textadept.h
index 1c8f0b3a..666c361d 100644
--- a/src/textadept.h
+++ b/src/textadept.h
@@ -19,13 +19,7 @@ extern "C" {
#include <lauxlib.h>
}
-#ifdef WIN32
-#include "Windows.h"
-#define strcasecmp _stricmp
-#endif
-
#ifdef MAC
-#include <Carbon/Carbon.h>
using namespace Scintilla;
#endif
@@ -34,11 +28,7 @@ extern GtkWidget *window, *focused_editor, *command_entry, *pm_container,
*pm_entry, *pm_view, *findbox, *find_entry, *replace_entry,
*fnext_button, *fprev_button, *r_button, *ra_button,
*match_case_opt, *whole_word_opt, *lua_opt, *in_files_opt;
-#if !(WIN32 || MAC)
-static const char *textadept_home = "/usr/share/textadept/";
-#else
extern char *textadept_home;
-#endif
static long SS(ScintillaObject *sci, unsigned int msg, unsigned long wParam=0,
long lParam=0) {