Kaynağa Gözat

Removed pascaldefines.inc

GLScene 5 yıl önce
ebeveyn
işleme
5da77a82c1
2 değiştirilmiş dosya ile 0 ekleme ve 339 silme
  1. 0 2
      Source/GLSModuleLoader.pas
  2. 0 337
      Source/pascaldefines.inc

+ 0 - 2
Source/GLSModuleLoader.pas

@@ -33,8 +33,6 @@ unit GLSModuleLoader;
 
 interface
 
-{$I pascaldefines.inc}
-
 {$WEAKPACKAGEUNIT ON}
 
 // each OS gets its own IFDEFed complete code block to make reading easier

+ 0 - 337
Source/pascaldefines.inc

@@ -1,337 +0,0 @@
-{******************************************************************************}
-{                                                                              }
-{       Borland Delphi SDL - Simple DirectMedia Layer                          }
-{       Global Conditional Definitions for JEDI-SDL cross-compilation          }
-{                                                                              }
-{                                                                              }
-{ The initial developer of this Pascal code was :                              }
-{  Prof. Abimbola Olowofoyeku <http://www.bigfoot.com/~African_Chief/>         }
-{                                                                              }
-{ Portions created by Prof. Abimbola Olowofoyeku are                           }
-{ Copyright (C) 2000 - 2100 Prof. Abimbola Olowofoyeku.                        }
-{                                                                              }
-{                                                                              }
-{ Contributor(s)                                                               }
-{ --------------                                                               }
-{  Prof. Abimbola Olowofoyeku <http://www.bigfoot.com/~African_Chief/>         }
-{  Dominqiue Louis <[email protected]>                           }
-{                                                                              }
-{ Obtained through:                                                            }
-{ Joint Endeavour of Delphi Innovators ( Project JEDI )                        }
-{                                                                              }
-{ You may retrieve the latest version of this file at the Project              }
-{ JEDI home page, located at http://delphi-jedi.org                            }
-{                                                                              }
-{ The contents of this file are used with permission, subject to               }
-{ the Mozilla Public License Version 1.1 (the "License"); you may              }
-{ not use this file except in compliance with the License. You may             }
-{ obtain a copy of the License at                                              }
-{ http://www.mozilla.org/MPL/MPL-1.1.html                                      }
-{                                                                              }
-{ Software distributed under the License is distributed on an                  }
-{ "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or               }
-{ implied. See the License for the specific language governing                 }
-{ rights and limitations under the License.                                    }
-{                                                                              }
-{ Description                                                                  }
-{ -----------                                                                  }
-{ This code has been copied from...                                            }
-{ Global Conditional Definitions for Chief's UNZIP package                     }
-{ By Prof. Abimbola Olowofoyeku (The African Chief)                            }
-{          http://www.bigfoot.com/~African_Chief/                              }
-{                                                                              }
-{                                                                              }
-{ Requires                                                                     }
-{ --------                                                                     }
-{   The SDL Runtime libraris on Win32  : SDL.dll on Linux : libSDL.so          }
-{   They are available from...                                                 }
-{   http://www.libsdl.org .                                                    }
-{                                                                              }
-{ Programming Notes                                                            }
-{ -----------------                                                            }
-{                                                                              }
-{                                                                              }
-{                                                                              }
-{                                                                              }
-{ Revision:                                                             }
-{ ----------------                                                             }
-{   2003-04-03   DL - Initial addition                                         }
-{                                                                              }
-{   2003-04-07   DL - Added Macro ON derective for FPC and OpenGL and removed  }
-{                WEAKPACKAGE derective. WEAKPACKAGE should be set when         }
-{                appropriate.                                                  }
-{                                                                              }
-{   2003-04-23 - DL : under instruction from Alexey Barkovoy I have added      }
-{                          better TMT Pascal support and under instruction     }
-{                          from Prof. Abimbola Olowofoyeku (The African Chief) }
-{                          I have added better Gnu Pascal support              }
-{                                                                              }
-{   2004-01-19 - DL : Under instruction from Marco van de Voort, I have added  }
-{                     Better FPC support for FreeBSD.                          }
-{                                                                              }
-{******************************************************************************}
-
-{.$define Debug}           { uncomment for debugging }
-
-{$IFNDEF FPC}
-  {$IFDEF __GPC__}
-    {$I-}
-    {$W-}
-    {$X+}
-  {$ELSE} {__GPC__}
-    {$IFDEF Debug}
-      {$F+,D+,Q-,L+,R+,I-,S+,Y+,A+}
-    {$ELSE}
-      {$F+,Q-,R-,S-,I-,A+}
-    {$ENDIF}
-  {$ENDIF} {__GPC__}
-{$ELSE}  {FPC}
-  {$M+}
-{$ENDIF} {FPC}
-
-{$IFDEF LINUX}
-{$DEFINE UNIX}
-{$ENDIF}
-
-{$IFDEF ver70}
-   {$IFDEF Windows}
-     {$DEFINE Win16}
-   {$ENDIF Windows}
-   {$IFDEF MSDOS}
-     {$DEFINE NO_EXPORTS}
-   {$ENDIF MSDOS}
-   {$IFDEF DPMI}
-     {$DEFINE BP_DPMI}
-   {$ENDIF}
-   {$DEFINE OS_16_BIT}
-   {$DEFINE __OS_DOS__}
-{$ENDIF ver70}
-
-{$IFDEF ver80}
-   {$DEFINE Delphi}      {Delphi 1.x}
-   {$DEFINE Delphi16}
-   {$DEFINE Win16}
-   {$DEFINE OS_16_BIT}
-   {$DEFINE __OS_DOS__}
-{$ENDIF ver80}
-
-{$IFDEF ver90}
-   {$DEFINE Delphi}      {Delphi 2.x}
-   {$DEFINE Delphi32}
-{$ENDIF ver90}
-
-{$IFDEF ver100}
-   {$DEFINE Delphi}      {Delphi 3.x}
-   {$DEFINE Delphi32}
-   {$DEFINE WIN32}
-{$ENDIF ver100}
-
-{$IFDEF ver93}
-   {$DEFINE Delphi}      {C++ Builder 1.x}
-   {$DEFINE Delphi32}
-{$ENDIF ver93}
-
-{$IFDEF ver110}
-   {$DEFINE Delphi}      {C++ Builder 3.x}
-   {$DEFINE Delphi32}
-{$ENDIF ver110}
-
-{$IFDEF ver120}
-   {$DEFINE Delphi}      {Delphi 4.x}
-   {$DEFINE Delphi32}
-   {$DEFINE Has_Int64}
-{$ENDIF ver120}
-
-{$IFDEF ver130}
-   {$DEFINE Delphi}      {Delphi 5.x}
-   {$DEFINE Delphi32}
-   {$DEFINE Has_Int64}
-{$ENDIF ver130}
-
-{$IFDEF ver140}
-   {$DEFINE Delphi}      {Delphi 6.x}
-   {$DEFINE Delphi32}
-   {$DEFINE Has_Int64}
-{$ENDIF ver140}
-
-{$IFDEF ver150}
-   {$DEFINE Delphi}      {Delphi 7.x}
-   {$DEFINE Delphi32}
-   {$WARN UNSAFE_TYPE OFF} {Disable warning for unsafe types in Delphi 7}
-   {$DEFINE Has_Int64}
-{$ENDIF ver150}
-{$IFDEF VER150}
-{$ENDIF}
-
-{$IFDEF ver160}
-   {$DEFINE Delphi}      {Delphi 8}
-   {$DEFINE Delphi32}
-   {$DEFINE Has_Int64}
-{$ENDIF ver160}
-
-{$IFDEF ver170}
-   {$DEFINE Delphi}      {Delphi 2005}
-   {$DEFINE Delphi32}
-   {$DEFINE Has_Int64}
-{$ENDIF ver170}
-
-{$IFDEF ver180}
-   {$DEFINE Delphi}      {Delphi 2006}
-   {$DEFINE Delphi32}
-   {$DEFINE Has_Int64}
-{$ENDIF ver160}
-
-{$IFDEF ver185}
-   {$DEFINE Delphi}      {Delphi 2007}
-   {$DEFINE Delphi32}
-   {$DEFINE Has_Int64}
-{$ENDIF ver185}
-
-{$IFDEF ver200}
-   {$DEFINE Delphi}      {Delphi 2009}
-   {$DEFINE Delphi32}
-   {$DEFINE Has_Int64}
-{$ENDIF ver200}
-
-{$IFDEF ver210}
-   {$DEFINE Delphi}      {Delphi 2010}
-   {$DEFINE Delphi32}
-   {$DEFINE Has_Int64}
-{$ENDIF ver210}
-
-{$IFDEF ver220}
-   {$DEFINE Delphi}      {Delphi XE}
-   {$DEFINE Delphi32}
-   {$DEFINE Has_Int64}
-{$ENDIF ver220}
-
-{$IFDEF UNIX}
-  {$ifdef VER150}
-    {$define KYLIX}
-  {$endif}
-
-  {$ifdef VER140}
-    {$define KYLIX}
-  {$endif}
-
-  {$ifdef VER140}
-    {$define KYLIX}
-  {$endif}
-{$ENDIF UNIX}
-
-{$IFDEF VirtualPascal} {  Virtual Pascal 2.x }
-   {$DEFINE Delphi}    {  Use Delphi Syntax }
-   {$DEFINE VP2}
-   {&Delphi+}
-{$ENDIF VirtualPascal}
-
-{$IFDEF Delphi}
-  {$DEFINE Windows}
-  {$DEFINE USE_STDCALL}
-{$ENDIF Delphi}
-
-{$IFDEF FPC}
-  {$MODE Delphi}          { use Delphi compatibility mode }
-  {$H+}
-  {$PACKRECORDS 4}        // Added for record
-  {$MACRO ON}             // Added For OpenGL
-  {$UNDEF USE_STDCALL}
-  {$DEFINE OS_BigMem}
-  {$DEFINE NO_EXPORTS}
-  {$DEFINE Has_Int64}
-  {$DEFINE NOCRT}
-  {$IFDEF unix}
-     {$DEFINE fpc_unix}
-     {$linklib stdc++}   // Added by Corpsman, to support c++ code in libnewton.so
-  {$ELSE}
-     {$DEFINE __OS_DOS__}
-  {$ENDIF}
-  {$IFDEF WIN32}
-   {$DEFINE UseWin}
-  {$ENDIF}
-{$ENDIF FPC}
-
-{$IFDEF Win16}
-  {$K+}   {smart callbacks}
-{$ENDIF Win16}
-
- {$IFDEF OS2}
-    {$UNDEF Windows}
-    {$DEFINE UseWin}
-    {$DEFINE OS_BigMem}
- {$ENDIF OS2}
-
-{$IFDEF __GPC__}
-  {$UNDEF UseWin}
-  {$UNDEF USE_STDCALL}
-  {$DEFINE OS_BigMem}
-  {$DEFINE NO_EXPORTS}
-  {$DEFINE NOCRT}
-  {$DEFINE cdecl attribute(cdecl)}
-{$ENDIF}
-
-{$IFDEF __TMT__}
-  {$DEFINE OS_BigMem}
-  {$DEFINE NO_EXPORTS}
-  {$DEFINE __OS_DOS__}
-  {$DEFINE UseAT}
-  {$IFNDEF MSDOS}
-    {$DEFINE USE_STDCALL}
-  {$ENDIF}
-
-  {$IFDEF __WIN32__}
-    {$DEFINE Win32}
-    {$DEFINE UseWin}
-    {$DEFINE NOCRT}
-    {$DEFINE Win32}
-    {$IFNDEF __CON__}
-      {$DEFINE Windows}
-    {$ENDIF}
-  {$ENDIF}
-
-  {$A+}  // Word alignment data
-  {$OA+} // Objects and structures align
-{$ENDIF}
-
-{$IFDEF Win32}
-  {$H-}                    { no long strings, please! }
-  {$DEFINE OS_BigMem}
-{$ELSE Win32}
-  {$IFDEF ver70}
-    {$DEFINE assembler}
-  {$ENDIF} { use 16-bit assembler! }
-{$ENDIF Win32}
-
-{ ************************** dos/dos-like platforms **************}
-{$IFDEF Windows}
-   {$DEFINE __OS_DOS__}
-   {$DEFINE UseWin}
-   {$DEFINE MSWINDOWS}
-{$ENDIF Delphi}
-
-{$IFDEF OS2}
-   {$DEFINE __OS_DOS__}
-   {$DEFINE Can_Use_DLL}
-{$ENDIF Delphi}
-
-{$IFDEF UseWin}
-   {$DEFINE Can_Use_DLL}
-{$ENDIF}
-
-{$IFDEF Win16}
-   {$DEFINE Can_Use_DLL}
-{$ENDIF}
-
-{$IFDEF BP_DPMI}
-   {$DEFINE Can_Use_DLL}
-{$ENDIF}
-
-{$IFDEF USE_STDCALL}
-   {$IFNDEF __TMT__}
-     {$DEFINE BY_NAME}
-   {$ENDIF}
-{$ENDIF}
-
-{$IFNDEF ver70}
-  {$UNDEF assembler}
-{$ENDIF}