abies           Sun Sep  7 15:59:56 2003 EDT

  Added files:                 
    /php-src/ext/interbase      interbase.rc 

  Modified files:              
    /php-src/ext/interbase      interbase.c interbase.dsp 
  Log:
  Add version info to Windows DLL
  
Index: php-src/ext/interbase/interbase.c
diff -u php-src/ext/interbase/interbase.c:1.176 php-src/ext/interbase/interbase.c:1.177
--- php-src/ext/interbase/interbase.c:1.176     Fri Sep  5 10:21:25 2003
+++ php-src/ext/interbase/interbase.c   Sun Sep  7 15:59:55 2003
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: interbase.c,v 1.176 2003/09/05 14:21:25 abies Exp $ */
+/* $Id: interbase.c,v 1.177 2003/09/07 19:59:55 abies Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -26,7 +26,9 @@
 
 #include "php.h"
 
-#if HAVE_IBASE
+#define FILE_REVISION "$Revision: 1.177 $"
+
+#if HAVE_IBASE && !defined(VERSION_INFO_ONLY)
 
 #include "php_ini.h"
 #include "ext/standard/php_standard.h"
@@ -716,7 +718,7 @@
 
        php_info_print_table_start();
        php_info_print_table_row(2, "Interbase Support", "enabled");
-       php_info_print_table_row(2, "Revision", "$Revision: 1.176 $");
+       php_info_print_table_row(2, "Revision", FILE_REVISION);
 #ifdef COMPILE_DL_INTERBASE
        php_info_print_table_row(2, "Dynamic Module", "Yes");
 #endif
Index: php-src/ext/interbase/interbase.dsp
diff -u php-src/ext/interbase/interbase.dsp:1.6 php-src/ext/interbase/interbase.dsp:1.7
--- php-src/ext/interbase/interbase.dsp:1.6     Tue Sep  4 17:50:27 2001
+++ php-src/ext/interbase/interbase.dsp Sun Sep  7 15:59:55 2003
@@ -108,6 +108,13 @@
 # Begin Group "Resource Files"
 
 # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+# Begin Source File
+
+SOURCE=.\interbase.rc
+
+# ADD RSC /i "..\.." /i "..\..\main" /i "..\..\win32" /i "..\..\Zend" /i "..\..\TSRM" 
/d "ZEND_WIN32" /d "WIN32" /d "PHP_WIN32"
+
+# End Source File
 # End Group
 # End Target
 # End Project

Index: php-src/ext/interbase/interbase.rc
+++ php-src/ext/interbase/interbase.rc
/*
   +----------------------------------------------------------------------+
   | PHP Version 4                                                        |
   +----------------------------------------------------------------------+
   | Copyright (c) 1997-2003 The PHP Group                                |
   +----------------------------------------------------------------------+
   | This source file is subject to version 3.0 of the PHP license,       |
   | that is bundled with this package in the file LICENSE, and is        |
   | available through the world-wide-web at the following url:           |
   | http://www.php.net/license/3_0.txt.                                  |
   | If you did not receive a copy of the PHP license and are unable to   |
   | obtain it through the world-wide-web, please send a note to          |
   | [EMAIL PROTECTED] so we can mail you a copy immediately.               |
   +----------------------------------------------------------------------+
   | Author:  Ard Biesheuvel <[EMAIL PROTECTED]>              |
   +----------------------------------------------------------------------+
 */

/* $Id: interbase.rc,v 1.1 2003/09/07 19:59:55 abies Exp $ */

#ifdef APSTUDIO_INVOKED
#error This file cannot be opened from the Visual Studio IDE
#endif

#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
#include "winres.h"
#undef APSTUDIO_READONLY_SYMBOLS

#include "php_version.h"

#ifdef _DEBUG
# define BUILD_TYPE "Debug"
#else
# define BUILD_TYPE "Release"
#endif

#define VERSION_INFO_ONLY
#include "interbase.c"

#ifndef _MAC

VS_VERSION_INFO VERSIONINFO
 FILEVERSION PHP_MAJOR_VERSION,PHP_MINOR_VERSION,PHP_RELEASE_VERSION,0
 PRODUCTVERSION PHP_MAJOR_VERSION,PHP_MINOR_VERSION,PHP_RELEASE_VERSION,0
 FILEFLAGSMASK 0x3fL
 FILEOS 0x40004L
 FILETYPE 0x2L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "000004b0"
        BEGIN
            VALUE "FileDescription", "PHP Interbase module"
            VALUE "FileVersion", PHP_VERSION
            VALUE "File Revision", FILE_REVISION
            VALUE "LegalCopyright", "1997-2003 The PHP Group"
            VALUE "ProductName", "PHP"
            VALUE "ProductVersion", PHP_VERSION
                        VALUE "Build Type", BUILD_TYPE
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x0, 1200
    END
END

#endif    // !_MAC

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to