diff options
Diffstat (limited to 'src/CommandLine')
| -rw-r--r-- | src/CommandLine/cppdrv.cc | 4 | ||||
| -rw-r--r-- | src/CommandLine/pef-amd64-necdrv.cc (renamed from src/CommandLine/pef-amd64-cxxdrv.cc) | 2 | ||||
| -rw-r--r-- | src/CommandLine/pef-amd64-necdrv.json (renamed from src/CommandLine/pef-amd64-cxxdrv.json) | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/CommandLine/cppdrv.cc b/src/CommandLine/cppdrv.cc index d5d2cd0..6977923 100644 --- a/src/CommandLine/cppdrv.cc +++ b/src/CommandLine/cppdrv.cc @@ -9,10 +9,10 @@ #include <CompilerKit/Detail/Config.h> #include <CompilerKit/ErrorID.h> -CK_IMPORT_C int CPlusPlusPreprocessorMain(int argc, char const* argv[]); +CK_IMPORT_C int GenericPreprocessorMain(int argc, char const* argv[]); int main(int argc, char const* argv[]) { - if (auto code = CPlusPlusPreprocessorMain(argc, argv); code > 0) { + if (auto code = GenericPreprocessorMain(argc, argv); code > 0) { std::printf("cppdrv: preprocessor exited with code %i.\n", code); return NECTAR_EXEC_ERROR; diff --git a/src/CommandLine/pef-amd64-cxxdrv.cc b/src/CommandLine/pef-amd64-necdrv.cc index 6617d2c..921c674 100644 --- a/src/CommandLine/pef-amd64-cxxdrv.cc +++ b/src/CommandLine/pef-amd64-necdrv.cc @@ -17,7 +17,7 @@ static auto kPath = "/usr/local/lib/libCompilerKit.dylib"; static auto kPath = "/usr/lib/libCompilerKit.so"; #endif -static auto kSymbol = "CompilerCPlusPlusAMD64"; +static auto kSymbol = "CompilerNectarAMD64"; Int32 main(Int32 argc, Char const* argv[]) { CompilerKit::DLLLoader dylib; diff --git a/src/CommandLine/pef-amd64-cxxdrv.json b/src/CommandLine/pef-amd64-necdrv.json index 90295b9..ea2209d 100644 --- a/src/CommandLine/pef-amd64-cxxdrv.json +++ b/src/CommandLine/pef-amd64-necdrv.json @@ -7,13 +7,13 @@ "../include/CompilerKit/src/Detail" ], "sources_path": [ - "pef-amd64-cxxdrv.cc" + "pef-amd64-necdrv.cc" ], - "output_name": "pef-amd64-cxxdrv", + "output_name": "pef-amd64-necdrv", "compiler_flags": [ ], "cpp_macros": [ - "__CXXDRV__=202504", + "__NECDRV__=202504", "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)" ] } |
