mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-25 01:14:07 +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
|