Little adjustement concerning _() macro (maybe it s a compiler problem)

This commit is contained in:
Grégory Soutadé 2011-02-06 09:10:25 +01:00
parent a7c16a7ef9
commit 3164ceab4f
3 changed files with 4 additions and 2 deletions

View File

@ -34,8 +34,10 @@
#include "grid/wxGridCellButtonRenderer.h" #include "grid/wxGridCellButtonRenderer.h"
#include "grid/wxGridCellButtonEditor.h" #include "grid/wxGridCellButtonEditor.h"
#ifdef WIN32
#undef _ #undef _
#define _(s) wxString(wxGetTranslation(s)) #define _(s) wxString(wxGetTranslation(s))
#endif
class KissCount; class KissCount;
class ButtonPanel; class ButtonPanel;

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
DATE=`date +%d.%m.%Y` DATE=`date +%d.%m.%Y`
ARCH=`${PREFIX}gcc -dumpmachine | cut -d- -f1` [ -z "$ARCH" ] && ARCH=`${PREFIX}gcc -dumpmachine | cut -d- -f1`
VERSION=`cat src/controller/KissCount.h | grep APP_VERSION | cut -d\" -f2` VERSION=`cat src/controller/KissCount.h | grep APP_VERSION | cut -d\" -f2`
DIR="KissCount_build_${VERSION}_${DATE}_${ARCH}" DIR="KissCount_build_${VERSION}_${DATE}_${ARCH}"
FILE="$DIR.tar.bz2" FILE="$DIR.tar.bz2"

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
DATE=`date +%d.%m.%Y` DATE=`date +%d.%m.%Y`
ARCH=`${PREFIX}gcc -dumpmachine | cut -d- -f1` [ -z "$ARCH" ] && ARCH=`${PREFIX}gcc -dumpmachine | cut -d- -f1`
VERSION=`cat src/controller/KissCount.h | grep APP_VERSION | cut -d\" -f2` VERSION=`cat src/controller/KissCount.h | grep APP_VERSION | cut -d\" -f2`
DIR="KissCount_build_${VERSION}_${DATE}_${ARCH}" DIR="KissCount_build_${VERSION}_${DATE}_${ARCH}"
FILE="$DIR.tar.bz2" FILE="$DIR.tar.bz2"