FauxFaux/PuTTyTray — Issue #6: No-longer builds on non-Windows
Author: FauxFaux
Created: 2011-10-09 01:02:46+00:00
State: open

Some of the changes break compilation on at least Linux (Debian x64).

```
PuTTyTray/unix% git describe
p0.61-t003-2-gfca5cbc

/PuTTyTray/unix% make
gcc -g -O2 -Wall -Werror -DHAVE_CONFIG_H -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.././ -I../charset/ -I../windows/ -I../windows/re_lib/ -I../unix/ -I../macosx/ -c ../be_all_s.c
In file included from ../be_all_s.c:7:
../putty.h:719: error: âMAX_PATHâ undeclared here (not in a function)
make: *** [be_all_s.o] Error 1
```

Even if the functionality isn't going to be enabled on non-Windows, the source tree should still compile on all the original platforms.