Ver código fonte

Removed unused define. From https://github.com/XhmikosR/issrc/commit/a3e45475e188e6505b01395554988e3ddf1cf1e6

Did not recompile binary.
Martijn Laan 13 anos atrás
pai
commit
3fb23590bd
1 arquivos alterados com 1 adições e 6 exclusões
  1. 1 6
      Projects/RegDLL/Regdll.c

+ 1 - 6
Projects/RegDLL/Regdll.c

@@ -1,14 +1,12 @@
 /*
 /*
   Inno Setup
   Inno Setup
-  Copyright (C) 1997-2006 Jordan Russell
+  Copyright (C) 1997-2012 Jordan Russell
   Portions by Martijn Laan
   Portions by Martijn Laan
   For conditions of distribution and use, see LICENSE.TXT.
   For conditions of distribution and use, see LICENSE.TXT.
 
 
   RegDLL process, called by RegDLL unit
   RegDLL process, called by RegDLL unit
 
 
   Compiled on Visual Studio 2005
   Compiled on Visual Studio 2005
-
-  $jrsoftware: issrc/Projects/RegDLL/RegDLL.c,v 1.5 2006/10/06 01:11:59 jr Exp $
 */
 */
 
 
 #include <windows.h>
 #include <windows.h>
@@ -42,9 +40,6 @@ typedef struct {
 #define ecMutexWaitUnexpectedResult 3
 #define ecMutexWaitUnexpectedResult 3
 #define ecWrongVersionOrSize 4
 #define ecWrongVersionOrSize 4
 
 
-#undef ARRAYSIZE   // already defined in later versions of WinNT.h
-#define ARRAYSIZE(a) (sizeof(a) / sizeof((a)[0]))
-
 LPTSTR GetCommandTail(void)
 LPTSTR GetCommandTail(void)
 {
 {
 	LPTSTR CmdLine = GetCommandLine();
 	LPTSTR CmdLine = GetCommandLine();