Search
lxdream.org :: lxdream/src/paths_unix.c
lxdream 0.9.1
released Jun 29
Download Now
filename src/paths_unix.c
changeset 964:f2f3c7612d06
next1021:848db285a184
author nkeynes
date Thu Jan 15 04:15:11 2009 +0000 (13 years ago)
permissions -rw-r--r--
last change Add support for the Intel ICC compiler (C only, icc doesn't support Obj-C)
- Rename Obj-C source to .m
- Separate paths.c into paths_unix.c and paths_osx.m
- Add configuration detection of ICC, along with specific opt flags
view annotate diff log raw
     1 /**
     2  * $Id: cocoaui.c 863 2008-09-06 05:21:57Z nkeynes $
     3  *
     4  * Wrappers for system-dependent functions (mainly path differences)
     5  *
     6  * Copyright (c) 2008 Nathan Keynes.
     7  *
     8  * This program is free software; you can redistribute it and/or modify
     9  * it under the terms of the GNU General Public License as published by
    10  * the Free Software Foundation; either version 2 of the License, or
    11  * (at your option) any later version.
    12  *
    13  * This program is distributed in the hope that it will be useful,
    14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    16  * GNU General Public License for more details.
    17  */
    19 #include <string.h>
    21 #include "lxdream.h"
    23 const char *get_sysconf_path()
    24 {
    25     return PACKAGE_CONF_DIR;
    26 }
    28 const char *get_locale_path()
    29 {
    30     return PACKAGE_LOCALE_DIR;
    31 }
.