fix some comments

This commit is contained in:
mittorn 2019-11-18 21:13:21 +07:00
parent 6f58ef2394
commit 94fc0febc7
2 changed files with 17 additions and 4 deletions

View File

@ -54,7 +54,7 @@ GNU General Public License for more details.
#define MSGBOX_WIN32 3 #define MSGBOX_WIN32 3
// messageboxes (XASH_LIB) // library loading (XASH_LIB)
#define LIB_NULL 0 #define LIB_NULL 0
#define LIB_POSIX 1 #define LIB_POSIX 1
#define LIB_WIN32 2 #define LIB_WIN32 2

View File

@ -1,7 +1,21 @@
/*
lib_static.c - static linking support
Copyright (C) 2018 Flying With Gauss
This program is free software: you can redistribute it and/sor modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
#include "platform/platform.h" #include "platform/platform.h"
#if XASH_LIB == LIB_STATIC #if XASH_LIB == LIB_STATIC
#ifdef XASH_NO_LIBDL #ifdef XASH_NO_LIBDL
void *dlsym(void *handle, const char *symbol ) void *dlsym(void *handle, const char *symbol )
@ -43,7 +57,6 @@ typedef struct table_s
#include "generated_library_tables.h" #include "generated_library_tables.h"
static void *Lib_Find(table_t *tbl, const char *name ) static void *Lib_Find(table_t *tbl, const char *name )
{ {
while( tbl->name ) while( tbl->name )