mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 21:04:09 +00:00
ee966c4d2d
and their header files necessary to build GoldenDict on 64-bit Intel Macs. Included program icon into application package. Minor code clarification in keyboardstate.cc
22 lines
297 B
C++
22 lines
297 B
C++
#ifndef __WCHARHXX__
|
|
#define __WCHARHXX__
|
|
|
|
#ifndef GCC
|
|
typedef struct {
|
|
#else
|
|
typedef struct __attribute__ ((packed)) {
|
|
#endif
|
|
unsigned char l;
|
|
unsigned char h;
|
|
} w_char;
|
|
|
|
// two character arrays
|
|
struct replentry {
|
|
char * pattern;
|
|
char * pattern2;
|
|
bool start;
|
|
bool end;
|
|
};
|
|
|
|
#endif
|