summaryrefslogtreecommitdiff
path: root/source3/acconfig.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-01-09 21:30:37 +0000
committerJeremy Allison <jra@samba.org>2002-01-09 21:30:37 +0000
commit3375267106fb0af332a516c6403700acbd1133ab (patch)
tree47dbf6854ec0d06714091de5efc773f1708d6bbc /source3/acconfig.h
parentca2558ff34fab162c8e893b71a802bb12dfb01ba (diff)
downloadsamba-3375267106fb0af332a516c6403700acbd1133ab.tar.gz
samba-3375267106fb0af332a516c6403700acbd1133ab.tar.bz2
samba-3375267106fb0af332a516c6403700acbd1133ab.zip
Added tests for st_blocks in struct stat, and added a (hateful) constant
the specifies the units that st_blocks is in. The reason for this is that HPUX uses 8k, AIX uses a #defined constant and everyone else (tm) uses 512 byte units. Needed for the CIFS UNIX extensions - coming to a Samba server near you soon.... :-). Jeremy. (This used to be commit 38cfffea5f0d7f5ff676f83204a2923247dce9d5)
Diffstat (limited to 'source3/acconfig.h')
-rw-r--r--source3/acconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/acconfig.h b/source3/acconfig.h
index 7cf8c1439a..cb932d53f4 100644
--- a/source3/acconfig.h
+++ b/source3/acconfig.h
@@ -185,3 +185,5 @@
#undef HAVE_GSSAPI
#undef BROKEN_REDHAT_7_SYSTEM_HEADERS
#undef HAVE_LDAP
+#undef HAVE_STAT_ST_BLOCKS
+#undef STAT_ST_BLOCKSIZE