Permalink
Browse files

Mantis 5983: CheckWin32version is buggy

  • Loading branch information...
1 parent 8054e8a commit 2ec83969cd039c6bf5fe121ae80ed1eacb186af7 @obones obones committed Dec 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 jcl/source/common/JclSysUtils.pas
View
2 jcl/source/common/JclSysUtils.pas
@@ -1213,7 +1213,7 @@ function SharedGetMem(var P{: Pointer}; const Name: string; Size: Cardinal;
Result := 0;
Pointer(P) := nil;
- if not CheckWin32Version(5, 0) and ((Name = '') or (Pos('\', Name) > 0)) then
+ if not JclCheckWinVersion(5, 0) and ((Name = '') or (Pos('\', Name) > 0)) then
raise ESharedMemError.CreateResFmt(@RsInvalidMMFName, [Name]);
{$IFDEF THREADSAFE}

0 comments on commit 2ec8396

Please sign in to comment.