forked from mirrors/0ad
Remove hardcoded library linking pragmas from vorbis.h
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2019 Wildfire Games.
|
||||
/* Copyright (C) 2025 Wildfire Games.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
@@ -29,21 +29,4 @@
|
||||
|
||||
#include <vorbis/vorbisfile.h>
|
||||
|
||||
// TODO: remove hardcoded libraries.
|
||||
#if MSC_VERSION
|
||||
#if _WIN64
|
||||
# ifdef NDEBUG
|
||||
# pragma comment(lib, "vorbisfile.lib")
|
||||
# else
|
||||
# pragma comment(lib, "vorbisfiled.lib")
|
||||
# endif
|
||||
#else
|
||||
# ifdef NDEBUG
|
||||
# pragma comment(lib, "libvorbisfile.lib")
|
||||
# else
|
||||
# pragma comment(lib, "libvorbisfiled.lib")
|
||||
# endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // #ifndef INCLUDED_VORBIS
|
||||
|
||||
Reference in New Issue
Block a user