Skip to content

Commit 1d1bc52

Browse files
author
Andrew Hsieh
committed
Fix OpenSLES_AndroidConfiguration.h to be usable for C code
See https://code.google.com/p/android/issues/detail?id=53163 Change-Id: I0eaa3f93860134daf7d589696e47828166fbc899
1 parent dede575 commit 1d1bc52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ndk/platforms/android-9/include/SLES/OpenSLES_AndroidConfiguration.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#ifdef __cplusplus
2121
extern "C" {
22+
#endif
2223

2324
/*---------------------------------------------------------------------------*/
2425
/* Android AudioRecorder configuration */
@@ -63,6 +64,7 @@ extern "C" {
6364

6465

6566

67+
#ifdef __cplusplus
6668
}
6769
#endif /* __cplusplus */
6870

0 commit comments

Comments
 (0)