src/file/cocoa/SDL_rwopsbundlesupport.h
author Ryan C. Gordon
Thu, 02 Mar 2017 13:33:04 -0500
changeset 10925 4de9d54bbc87
parent 10737 3406a0f8b041
child 11811 5d94cb6b24d3
permissions -rw-r--r--
Some patches to make SDL compile with armcc (ARM's C compiler).
slouken@8616
     1
/*
slouken@8616
     2
  Simple DirectMedia Layer
slouken@10737
     3
  Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
slouken@8616
     4
slouken@8616
     5
  This software is provided 'as-is', without any express or implied
slouken@8616
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@8616
     7
  arising from the use of this software.
slouken@8616
     8
slouken@8616
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@8616
    10
  including commercial applications, and to alter it and redistribute it
slouken@8616
    11
  freely, subject to the following restrictions:
slouken@8616
    12
slouken@8616
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@8616
    14
     claim that you wrote the original software. If you use this software
slouken@8616
    15
     in a product, an acknowledgment in the product documentation would be
slouken@8616
    16
     appreciated but is not required.
slouken@8616
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@8616
    18
     misrepresented as being the original software.
slouken@8616
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@8616
    20
*/
slouken@8616
    21
slouken@8627
    22
#ifdef __APPLE__
ewing@4447
    23
ewing@4447
    24
#include <stdio.h>
ewing@4447
    25
ewing@4447
    26
#ifndef SDL_rwopsbundlesupport_h
ewing@4447
    27
#define SDL_rwopsbundlesupport_h
ewing@4447
    28
FILE* SDL_OpenFPFromBundleOrFallback(const char *file, const char *mode);
ewing@4447
    29
#endif
ewing@4447
    30
#endif