lib/mkmf/templates/have_struct_member.erb in mkmf-lite-0.2.4 vs lib/mkmf/templates/have_struct_member.erb in mkmf-lite-0.2.5
- old
+ new
@@ -1,6 +1,6 @@
-<%= headers %>
-
-int main(){
- int s = (char *)&((<%= struct_type %>*)0)-><%= struct_member %> - (char *)0;
- return 0;
-}
+<%= headers %>
+
+int main(){
+ int s = (char *)&((<%= struct_type %>*)0)-><%= struct_member %> - (char *)0;
+ return 0;
+}