Let $X$ and $Y$ be topological spaces and let $C(X,Y)$ denote the set of continuous maps from $X$ to $Y$. For any two subsets $A \subset X$ and $B \subset Y$ let $W(A,B) := \{ f \in C(X,Y) \mid f(A) \subset B\}$. The compact-open topology on $C(X,Y)$ is the topology with subbasis consisting of the sets $W(K,V)$ for all compact subsets $K\subset X$ and open subsets $V \subset Y$.
However, in Bourbaki the term compact means compact Hausdorff. Suppose we instead take the subbasis to consist of those sets $W(K,V)$ for all compact Hausdorff $K \subset X$ and open subsets $V\subset Y$. In general, does this give the same topology as the one above?