Use longs in shmem structs (Might prevent alignment problems)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@541 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
afa0b07631
commit
ffc63ae838
|
@ -86,14 +86,14 @@ struct dg_shm
|
||||||
#ifdef USE_SHMEM
|
#ifdef USE_SHMEM
|
||||||
sem_t dg_sem;
|
sem_t dg_sem;
|
||||||
#endif
|
#endif
|
||||||
int max_n_games;
|
long max_n_games;
|
||||||
int cur_n_games;
|
long cur_n_games;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct dg_shm_game
|
struct dg_shm_game
|
||||||
{
|
{
|
||||||
int in_use;
|
long in_use;
|
||||||
int nwatchers;
|
long nwatchers;
|
||||||
char ttyrec_fn[150];
|
char ttyrec_fn[150];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue