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 Mon Feb 09 00:13:46 2009 +0000 (15 years ago)
permissions -rw-r--r--
last change Fail cleanly if the display doesn't actually support GLX, rather than crashing horribly
file annotate diff log raw
nkeynes@964
     1
/**
nkeynes@964
     2
 * $Id: cocoaui.c 863 2008-09-06 05:21:57Z nkeynes $
nkeynes@964
     3
 *
nkeynes@964
     4
 * Wrappers for system-dependent functions (mainly path differences)
nkeynes@964
     5
 *
nkeynes@964
     6
 * Copyright (c) 2008 Nathan Keynes.
nkeynes@964
     7
 *
nkeynes@964
     8
 * This program is free software; you can redistribute it and/or modify
nkeynes@964
     9
 * it under the terms of the GNU General Public License as published by
nkeynes@964
    10
 * the Free Software Foundation; either version 2 of the License, or
nkeynes@964
    11
 * (at your option) any later version.
nkeynes@964
    12
 *
nkeynes@964
    13
 * This program is distributed in the hope that it will be useful,
nkeynes@964
    14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
nkeynes@964
    15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
nkeynes@964
    16
 * GNU General Public License for more details.
nkeynes@964
    17
 */
nkeynes@964
    18
nkeynes@964
    19
#include <string.h>
nkeynes@964
    20
nkeynes@964
    21
#include "lxdream.h"
nkeynes@964
    22
nkeynes@964
    23
const char *get_sysconf_path()
nkeynes@964
    24
{
nkeynes@964
    25
    return PACKAGE_CONF_DIR;
nkeynes@964
    26
}
nkeynes@964
    27
nkeynes@964
    28
const char *get_locale_path()
nkeynes@964
    29
{
nkeynes@964
    30
    return PACKAGE_LOCALE_DIR;
nkeynes@964
    31
}
nkeynes@964
    32
.