Skip to content

Commit

Permalink
bug fix for fflush
Browse files Browse the repository at this point in the history
  • Loading branch information
U-danmey-PC\danmey authored and U-danmey-PC\danmey committed Mar 14, 2010
1 parent 4c58f54 commit 089671f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/macros.m4
Expand Up @@ -54,11 +54,12 @@ define([K4_RESTORE_CONTEXT],[
dnl

define([K4_FLUSH],[
push %eax
pushal
mov stdout_ptr, %eax
pushl (%eax)
K4_PURE_CALL(fflush)
pop %eax
addl $ 4, %esp
popal
])
define([K4_PRINT_MSG],[
K4_SAFE_CALL(printf,$1)
Expand Down

0 comments on commit 089671f

Please sign in to comment.