Don't try to call TerminateUnicodeConverter() in the CFM world: it isn't there.
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 29 Dec 2002 19:14:56 +0000 (19:14 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 29 Dec 2002 19:14:56 +0000 (19:14 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2381 cda61777-01e9-0310-a592-d414129be87e

mac/mac.c

index 7cbe8c7..54ed35c 100644 (file)
--- a/mac/mac.c
+++ b/mac/mac.c
@@ -1,4 +1,4 @@
-/* $Id: mac.c,v 1.8 2002/12/28 22:22:43 ben Exp $ */
+/* $Id: mac.c,v 1.9 2002/12/29 19:14:56 ben Exp $ */
 /*
  * Copyright (c) 1999 Ben Harris
  * All rights reserved.
@@ -559,8 +559,10 @@ static void mac_adjustcursor(RgnHandle cursrgn) {
 
 static void mac_shutdown(void) {
 
+#if !TARGET_RT_MAC_CFM
     if (mac_gestalts.encvvers != 0)
        TerminateUnicodeConverter();
+#endif
     exit(0);
 }