Skip to content

Commit

Permalink
GH-50 Fix CI (Ubuntu) building Java support.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirWumpus committed Oct 11, 2024
1 parent 102b424 commit 91a9d8e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions jni/Post4.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ typedef int64_t __int64;
#endif

#include <jni.h>

#include "../src/post4.h"
#include <post4.h>

#define POST4_CLASS "post4/jni/Post4"
#define ERROR_CLASS "post4/jni/Post4Exception"
Expand Down
2 changes: 1 addition & 1 deletion jni/makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ CC_E = @CC_E@
CC_O = @CC_O@
CPPFLAGS = @CPPFLAGS@
CWARNINGS = -Wall -Wextra
CFLAGS = -O2 -std=c11 @JNI_CFLAGS@ ${CWARNINGS} ${DBG}
CFLAGS = -O2 -std=c11 @JNI_CFLAGS@ ${CWARNINGS} -I${top_srcdir}/src ${DBG}
LDFLAGS = @LDFLAGS@
JFLAGS = -Xlint:deprecation @JFLAGS@
LIBS = @LIBS@
Expand Down
1 change: 0 additions & 1 deletion src/post4.c
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,6 @@ _inter_loop: while (ctx->input->offset < ctx->input->length) {
} else {
p4StackIsFull(ctx, &ctx->P4_FLOAT_STACK, P4_THROW_FS_OVER);
P4_PUSH(ctx->P4_FLOAT_STACK, x);
// p4StackGuard(ctx, &ctx->fs, P4_THROW_FS_OVER, P4_THROW_FS_UNDER);
}
} else
#endif
Expand Down

0 comments on commit 91a9d8e

Please sign in to comment.