Skip to content

Commit

Permalink
誤って必要な define を削除していたので修正
Browse files Browse the repository at this point in the history
- a5ad623
- WritePrivateProfileString() の置換が3段になっていた
  WritePrivateProfileString()
   ↓
  WritePrivateProfileStringA()
   ↓
  WritePrivateProfileStringAFileW()
- WritePrivateProfileString() の置換を2段に変更(少しわかりやすくした)
  WritePrivateProfileString()
   ↓
  WritePrivateProfileStringAFileW()
  • Loading branch information
zmatsuo committed Jul 20, 2024
1 parent b30f771 commit b3e1aba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ttssh2/ttxssh/ttxssh.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,10 @@ static OSSL_PROVIDER *default_provider = NULL;
TTEndDialog(p1, p2)
#undef GetPrivateProfileInt
#undef GetPrivateProfileString
#undef WritePrivateProfileString
#define GetPrivateProfileInt(p1, p2, p3, p4) GetPrivateProfileIntAFileW(p1, p2, p3, p4)
#define GetPrivateProfileString(p1, p2, p3, p4, p5, p6) GetPrivateProfileStringAFileW(p1, p2, p3, p4, p5, p6)
#define WritePrivateProfileString(p1, p2, p3, p4) WritePrivateProfileStringAFileW(p1, p2, p3, p4)

/* This extension implements SSH, so we choose a load order in the
"protocols" range. */
Expand Down

0 comments on commit b3e1aba

Please sign in to comment.