diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-09-29 21:02:13 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-09-29 21:02:13 +0200 |
commit | 6d7854919a95a6c276cf88598c9cac025b4db6d9 (patch) | |
tree | 941e3211ca0030ba2a4676a650c78a5b74396587 /Libraries/LibC/dlfcn.cpp | |
parent | 3900eebf15683d160047cb7ef7755fa6c1313ef2 (diff) | |
download | serenity-6d7854919a95a6c276cf88598c9cac025b4db6d9.zip |
LibC: Some build fixes for strange platforms
Patch from Anonymous.
Diffstat (limited to 'Libraries/LibC/dlfcn.cpp')
-rw-r--r-- | Libraries/LibC/dlfcn.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Libraries/LibC/dlfcn.cpp b/Libraries/LibC/dlfcn.cpp index f4437b0272..7efb88d2c1 100644 --- a/Libraries/LibC/dlfcn.cpp +++ b/Libraries/LibC/dlfcn.cpp @@ -6,20 +6,24 @@ extern "C" { int dlclose(void*) { ASSERT_NOT_REACHED(); + return 0; } char* dlerror() { ASSERT_NOT_REACHED(); + return nullptr; } void* dlopen(const char*, int) { ASSERT_NOT_REACHED(); + return nullptr; } void* dlsym(void*, const char*) { ASSERT_NOT_REACHED(); + return nullptr; } } |