diff --git a/pdf.c b/pdf.c
index 18ebac16e37b3b2f2156452168e06e3dc405a5ed..b4abd330a2afb6ccb08156d390f51d7484335e01 100644
--- a/pdf.c
+++ b/pdf.c
@@ -1784,10 +1784,9 @@ p_stream_data__m(HAllocator *mm__, const Dict *dict)
 	/* interpret known stream types */
 	if (bytes_eq(v->bytes, "XRef"))
 		return p_xrefdata__m(mm__, dict);
-#ifdef OBJSTM
+#ifndef NOOBJSTM
 	if (bytes_eq(v->bytes, "ObjStm"))
 		return p_objstm__m(mm__, dict);
-		//return h_action(h_many(h_uint8()), act_token, NULL);
 #endif
 
 	return NULL;					/* unrecognized type */