- extension/src/{port,platform,codepage} -> src/; native_render -> src/host
(+ dxt, shaders/); libgr2 -> src/gr2; extension/third_party -> third_party
- extension/tests -> tests/port, libgr2/tests -> tests/gr2
- android-native -> android (build.sh, push-client.sh moved in)
- script -> scripts; tools/40250 -> tools/server; oracle -> tools/granny-oracle;
perf tools -> tools/perf
- all build trees under build/ (native, release, android, port-gate)
- xrender:: CMake aliases -> mt::; port-map ledger impl paths rewritten
No code changes. ctest 15/15, port_gate macos+android PASS, port_map check 0 errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
43 lines
870 B
C++
43 lines
870 B
C++
#include "config.h"
|
|
#include <iosfwd>
|
|
#include <string>
|
|
|
|
#if CRYPTOPP_MSC_VERSION
|
|
# pragma warning(disable: 4100 4189 4996)
|
|
#endif
|
|
|
|
#if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE
|
|
# pragma GCC diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
|
|
USING_NAMESPACE(CryptoPP)
|
|
USING_NAMESPACE(std)
|
|
|
|
#ifndef CRYPTOPP_UNUSED
|
|
# define CRYPTOPP_UNUSED(x) (void(x))
|
|
#endif
|
|
|
|
// Used for testing the compiler and linker in cryptest.sh
|
|
#if defined(CRYPTOPP_ADHOC_MAIN) || defined(ADHOC_MAIN)
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
CRYPTOPP_UNUSED(argc), CRYPTOPP_UNUSED(argv);
|
|
return 0;
|
|
}
|
|
|
|
// Classic use of adhoc to setup calling convention
|
|
#else
|
|
|
|
extern int (*AdhocTest)(int argc, char *argv[]);
|
|
|
|
int MyAdhocTest(int argc, char *argv[])
|
|
{
|
|
CRYPTOPP_UNUSED(argc), CRYPTOPP_UNUSED(argv);
|
|
return 0;
|
|
}
|
|
|
|
static int s_i = (AdhocTest = &MyAdhocTest, 0);
|
|
|
|
#endif
|