mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
add include guards; reflect lockfree.h rename
This was SVN commit r2184.
This commit is contained in:
parent
0a462622a6
commit
4566893042
3 changed files with 9 additions and 4 deletions
|
|
@ -16,6 +16,9 @@
|
|||
// Jan.Wassenberg@stud.uni-karlsruhe.de
|
||||
// http://www.stud.uni-karlsruhe.de/~urkt/
|
||||
|
||||
#ifndef SND_H__
|
||||
#define SND_H__
|
||||
|
||||
#include "handle.h"
|
||||
|
||||
/*
|
||||
|
|
@ -215,3 +218,5 @@ extern int snd_update(const float* pos, const float* dir, const float* up);
|
|||
// free all resources and shut down the sound system.
|
||||
// call before h_mgr_shutdown.
|
||||
extern void snd_shutdown();
|
||||
|
||||
#endif // #ifndef SND_H__
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef SND_H__
|
||||
#define SND_H__
|
||||
#ifndef SYSDEP_SND_H__
|
||||
#define SYSDEP_SND_H__
|
||||
|
||||
const size_t SND_CARD_LEN = 128;
|
||||
extern char snd_card[SND_CARD_LEN];
|
||||
|
|
@ -10,4 +10,4 @@ extern char snd_drv_ver[SND_DRV_VER_LEN];
|
|||
|
||||
extern void get_snd_info(void);
|
||||
|
||||
#endif // #ifndef SND_H__
|
||||
#endif // #ifndef SYSDEP_SND_H__
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#include "lib.h"
|
||||
#include "posix.h"
|
||||
#include "win_internal.h"
|
||||
#include "lockless.h"
|
||||
#include "lockfree.h"
|
||||
|
||||
|
||||
static HANDLE pthread_t_to_HANDLE(pthread_t p)
|
||||
|
|
|
|||
Loading…
Reference in a new issue