summaryrefslogtreecommitdiff
path: root/bsp/simulator/SDL/include/close_code.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/simulator/SDL/include/close_code.h')
-rw-r--r--bsp/simulator/SDL/include/close_code.h45
1 files changed, 18 insertions, 27 deletions
diff --git a/bsp/simulator/SDL/include/close_code.h b/bsp/simulator/SDL/include/close_code.h
index 46a07208a7..9826f14786 100644
--- a/bsp/simulator/SDL/include/close_code.h
+++ b/bsp/simulator/SDL/include/close_code.h
@@ -1,46 +1,37 @@
/*
- SDL - Simple DirectMedia Layer
- Copyright (C) 1997-2009 Sam Lantinga
+ Simple DirectMedia Layer
+ Copyright (C) 1997-2014 Sam Lantinga <[email protected]>
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License as published by the Free Software Foundation; either
- version 2 of the License, or (at your option) any later version.
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
- This library 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
- Library General Public License for more details.
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
- You should have received a copy of the GNU Library General Public
- License along with this library; if not, write to the Free
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- Sam Lantinga
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
*/
/**
- * @file close_code.h
+ * \file close_code.h
+ *
* This file reverses the effects of begin_code.h and should be included
* after you finish any function and structure declarations in your headers
*/
#undef _begin_code_h
-/**
- * @file close_code.h
- * Reset structure packing at previous byte alignment
- */
+/* Reset structure packing at previous byte alignment */
#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__WATCOMC__) || defined(__BORLANDC__)
#ifdef __BORLANDC__
#pragma nopackwarning
#endif
-#if (defined(__MWERKS__) && defined(__MACOS__))
-#pragma options align=reset
-#pragma enumsalwaysint reset
-#else
#pragma pack(pop)
-#endif
#endif /* Compiler needs structure packing set */
-