Ticket #31974: patch-src_mac_MacInputManager.cpp.diff

File patch-src_mac_MacInputManager.cpp.diff, 2.0 KB (added by marin.saric@…, 12 years ago)
  • src/mac/MacInputManager.cpp

     
    11/*
    22 The zlib/libpng License
    33 
    4  Copyright (c) 2006 Chris Snyder
     4 Copyright (c) 2005-2007 Phillip Castaneda (pjcast -- www.wreckedgames.com)
    55 
    66 This software is provided 'as-is', without any express or implied warranty. In no event will
    77 the authors be held liable for any damages arising from the use of this software.
    88 
    9  Permission is granted to anyone to use this software for any purpose, including commercial 
     9 Permission is granted to anyone to use this software for any purpose, including commercial
    1010 applications, and to alter it and redistribute it freely, subject to the following
    1111 restrictions:
    1212 
    13  1. The origin of this software must not be misrepresented; you must not claim that 
    14  you wrote the original software. If you use this software in a product, 
    15  an acknowledgment in the product documentation would be appreciated but is 
     13 1. The origin of this software must not be misrepresented; you must not claim that
     14 you wrote the original software. If you use this software in a product,
     15 an acknowledgment in the product documentation would be appreciated but is
    1616 not required.
    1717 
    18  2. Altered source versions must be plainly marked as such, and must not be 
     18 2. Altered source versions must be plainly marked as such, and must not be
    1919 misrepresented as being the original software.
    2020 
    2121 3. This notice may not be removed or altered from any source distribution.
    22 */
     22 */
     23
     24#ifndef __LP64__
     25
    2326#include "mac/MacInputManager.h"
    2427#include "mac/MacKeyboard.h"
    2528#include "mac/MacMouse.h"
     
    3437using namespace OIS;
    3538
    3639//--------------------------------------------------------------------------------//
    37 MacInputManager::MacInputManager() : InputManager("Mac OSX Input Manager")
     40MacInputManager::MacInputManager() : InputManager("Mac OS X Input Manager")
    3841{
    3942    mHideMouse = true;
    4043    mUseRepeat = false;
     
    204207{
    205208        delete obj;
    206209}
     210#endif