mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Rename stun.c to stun.cpp
This commit is contained in:
parent
c419d037e8
commit
72a8f27a52
2 changed files with 3 additions and 3 deletions
|
|
@ -238,7 +238,7 @@ target_sources(SRB2SDL2 PRIVATE apng.c)
|
|||
|
||||
target_link_libraries(SRB2SDL2 PRIVATE DiscordRPC::DiscordRPC)
|
||||
target_compile_definitions(SRB2SDL2 PRIVATE -DHAVE_DISCORDRPC -DUSE_STUN)
|
||||
target_sources(SRB2SDL2 PRIVATE discord.c stun.c)
|
||||
target_sources(SRB2SDL2 PRIVATE discord.c stun.cpp)
|
||||
|
||||
target_link_libraries(SRB2SDL2 PRIVATE tcbrindle::span)
|
||||
target_link_libraries(SRB2SDL2 PRIVATE glm)
|
||||
|
|
@ -277,7 +277,7 @@ if(${SRB2_CONFIG_HAVE_DISCORDRPC})
|
|||
set(SRB2_HAVE_DISCORDRPC ON)
|
||||
target_compile_definitions(SRB2SDL2 PRIVATE -DHAVE_DISCORDRPC)
|
||||
target_compile_definitions(SRB2SDL2 PRIVATE -DUSE_STUN)
|
||||
target_sources(SRB2SDL2 PRIVATE discord.c stun.c)
|
||||
target_sources(SRB2SDL2 PRIVATE discord.c stun.cpp)
|
||||
else()
|
||||
message(WARNING "You have specified that Discord Rich Presence is available but it was not found.")
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
// terms of the GNU General Public License, version 2.
|
||||
// See the 'LICENSE' file for more details.
|
||||
//-----------------------------------------------------------------------------
|
||||
/// \file stun.c
|
||||
/// \file stun.cpp
|
||||
/// \brief RFC 5389 client implementation to fetch external IP address.
|
||||
|
||||
/* https://tools.ietf.org/html/rfc5389 */
|
||||
Loading…
Add table
Reference in a new issue