mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 20:00:51 -05:00
1d06554fc6
- Use framework-style includes. - Hush deprecation warnings when compiling test.
19 lines
413 B
C++
19 lines
413 B
C++
#ifdef __APPLE__
|
|
# include "OpenAL/al.h"
|
|
# include "OpenAL/alc.h"
|
|
#else
|
|
# include <AL/al.h>
|
|
# include <AL/alc.h>
|
|
#endif
|
|
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
/* Reference an AL symbol without requiring a context at runtime. */
|
|
printf("&alGetString = %p\n", &alGetString);
|
|
|
|
/* Reference an ALC symbol without requiring a context at runtime. */
|
|
printf("&alcGetString = %p\n", &alcGetString);
|
|
return 0;
|
|
}
|