pkgsrc/emulators/swarm/patches/patch-ai
2005-11-03 21:51:57 +00:00

15 lines
369 B
Text

$NetBSD: patch-ai,v 1.2 2005/11/03 21:51:57 rillig Exp $
--- src/alu.cpp 2004/08/12 18:49:18 1.1
+++ src/alu.cpp 2004/08/12 18:49:37
@@ -24,7 +24,9 @@
#include "swarm.h"
#include "alu.h"
-#include <iostream.h>
+#include <iostream>
+
+using namespace std;
#define CARRY_FROM(_a,_b,_r) ((_a >> 31) ? ((_b >> 31) | ((~_r) >> 31)) : ((_b >> 31) * ((~_r) >> 31)))